diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-03-02 22:55:56 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-03-02 22:55:56 -0500 |
commit | 358131f1ceff5658ee61adbeb0be595e91aebcd5 (patch) | |
tree | 2a1e1ef656dbfc452ce2906d5ae842a526333398 /emacsen | |
parent | Lighten font face for comments (diff) |
Handle the case of clobber having been run in emacsen clean
Diffstat (limited to '')
-rw-r--r-- | emacsen/Makefile | 4 |
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 \ |