summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-04-08 11:40:16 +0100
committerVincent Sanders <vince@kyllikki.org>2014-04-08 11:41:58 +0100
commitb7b3496a78fd08197899f588a4abc026c8636e74 (patch)
treec3a5244f6f8d274ae0d66f390a8fc1672d02118a /Makefile
parent9ba0d66c6d8b248a1889a98b2e2850a728f7f3c0 (diff)
downloadnetsurf-b7b3496a78fd08197899f588a4abc026c8636e74.tar.gz
netsurf-b7b3496a78fd08197899f588a4abc026c8636e74.tar.bz2
move testament output to object directory instead of modifying source
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 1638f3228..4f9380a8b 100644
--- a/Makefile
+++ b/Makefile
@@ -609,8 +609,8 @@ clean-target:
$(call clean_install_messages, !NetSurf/Resources)
clean-testament:
- $(VQ)echo " CLEAN: utils/testament.h"
- $(Q)$(RM) utils/testament.h
+ $(VQ)echo " CLEAN: testament.h"
+ $(Q)$(RM) $(OBJROOT)/testament.h
clean-builddir:
$(VQ)echo " CLEAN: $(OBJROOT)"
@@ -621,12 +621,8 @@ all-program: $(EXETARGET) post-exe
$(call split_install_messages, any, !NetSurf/Resources)
.PHONY: testament
-testament utils/testament.h:
- $(Q)if test -d .svn; then \
- $(PERL) utils/svn-testament.pl $(CURDIR) utils/testament.h; \
- else \
- $(PERL) utils/git-testament.pl $(CURDIR) utils/testament.h; \
- fi
+testament $(OBJROOT)/testament.h:
+ $(Q)$(PERL) utils/git-testament.pl $(CURDIR) $(OBJROOT)/testament.h
post-exe: $(POSTEXES)