summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2761a0dbb..10e9c8779 100644
--- a/Makefile
+++ b/Makefile
@@ -359,7 +359,7 @@ $(TOOLROOT)/created: $(OBJROOT)/created
$(Q)$(MKDIR) $(TOOLROOT)
$(Q)$(TOUCH) $(TOOLROOT)/created
-CLEANS := clean-target
+CLEANS := clean-target clean-testament
POSTEXES :=
@@ -480,6 +480,10 @@ clean-target:
$(VQ)echo " CLEAN: $(EXETARGET)"
$(Q)$(RM) $(EXETARGET)
+clean-testament:
+ $(VQ)echo " CLEAN: utils/testament.h"
+ $(Q)$(RM) utils/testament.h
+
clean-builddir:
$(VQ)echo " CLEAN: $(OBJROOT)"
$(Q)$(RM) -r $(OBJROOT)
@@ -487,6 +491,10 @@ CLEANS += clean-builddir
all-program: $(EXETARGET) post-exe
+.PHONY: testament
+testament:
+ $(Q)$(PERL) utils/svn-testament.pl $(shell pwd) utils/testament.h
+
post-exe: $(POSTEXES)
.SUFFIXES: