diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-02-25 14:42:17 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-02-25 14:44:08 -0500 |
commit | 1080168777734c067fddedf96340cbd1ef233894 (patch) | |
tree | 48b1b14563e9d290ba2e4c6baff4412b67c6a36b /emacsen | |
parent | Turn on auto-fill-mode for all text modes (diff) |
Added clobber target for emacsen
Diffstat (limited to 'emacsen')
-rw-r--r-- | emacsen/Makefile | 8 |
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 |