From 358131f1ceff5658ee61adbeb0be595e91aebcd5 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 2 Mar 2013 22:55:56 -0500 Subject: Handle the case of clobber having been run in emacsen clean --- emacsen/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacsen/Makefile') 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 \ -- cgit v1.2.3