aboutsummaryrefslogtreecommitdiff
path: root/emacsen
diff options
context:
space:
mode:
Diffstat (limited to 'emacsen')
-rw-r--r--emacsen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacsen/Makefile b/emacsen/Makefile
index a5f66a1..be8a50f 100644
--- a/emacsen/Makefile
+++ b/emacsen/Makefile
@@ -40,7 +40,7 @@ clean: $(CLEANDIRS)
rm -f make-*
$(CLEANDIRS):
- $(MAKE) -C $(@:clean-%=%) clean
+ [ ! -f $(@:clean-%=%)/Makefile ] || $(MAKE) -C $(@:clean-%=%) clean
# Manual overrides:
make-auto-indent-mode make-markdown-mode make-popup make-dictem:
@@ -116,7 +116,7 @@ install-vm:
$(MAKE) -C $(@:install-%=%) -e lispdir=$(EMACSD)/$(@:install-%=%) install
clean-vm:
- $(MAKE) -C $(@:clean-%=%) distclean
+ [ ! -f $(@:clean-%=%)/Makefile ] || $(MAKE) -C $(@:clean-%=%) distclean
clobber:
for dir in $(SUBDIRS); do \