aboutsummaryrefslogtreecommitdiff
path: root/emacsen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacsen/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emacsen/Makefile b/emacsen/Makefile
index f6eab9e..fb5ef8e 100644
--- a/emacsen/Makefile
+++ b/emacsen/Makefile
@@ -94,4 +94,10 @@ install-vm:
clean-vm:
$(MAKE) -C $(@:clean-%=%) distclean
-.PHONY: all install clean $(CLEANDIRS)
+clobber:
+ for dir in $(SUBDIRS); do \
+ git --git-dir=$${dir}/.git reset --hard HEAD; \
+ git --git-dir=$${dir}/.git clean -qxdf; \
+ done
+
+.PHONY: all install clean $(CLEANDIRS) clobber