From b7b3496a78fd08197899f588a4abc026c8636e74 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 8 Apr 2014 11:40:16 +0100 Subject: move testament output to object directory instead of modifying source --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3