diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-04-08 11:40:16 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-04-08 11:41:58 +0100 |
commit | b7b3496a78fd08197899f588a4abc026c8636e74 (patch) | |
tree | c3a5244f6f8d274ae0d66f390a8fc1672d02118a /Makefile | |
parent | 9ba0d66c6d8b248a1889a98b2e2850a728f7f3c0 (diff) | |
download | netsurf-b7b3496a78fd08197899f588a4abc026c8636e74.tar.gz netsurf-b7b3496a78fd08197899f588a4abc026c8636e74.tar.bz2 |
move testament output to object directory instead of modifying source
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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) |