From 1080168777734c067fddedf96340cbd1ef233894 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 25 Feb 2013 14:42:17 -0500 Subject: Added clobber target for emacsen --- emacsen/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emacsen/Makefile') 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 -- cgit v1.2.3