about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-10-12 02:37:01 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-10-12 02:37:01 +0000
commit3665caf36b0f2fdee2fa1ead72c4fd34340d3576 (patch)
treed0001df2241ca8b443546d417217b95bddacd437 /GNUmakefile
parent676cf8f26ba13692e4b1987bf847b56950d2c3cc (diff)
downloadnetpbm-mirror-3665caf36b0f2fdee2fa1ead72c4fd34340d3576.tar.gz
netpbm-mirror-3665caf36b0f2fdee2fa1ead72c4fd34340d3576.tar.xz
netpbm-mirror-3665caf36b0f2fdee2fa1ead72c4fd34340d3576.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@433 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0103aa9f..84207d5d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -145,11 +145,11 @@ endif
 MAJOR := $(NETPBM_MAJOR_RELEASE)
 MINOR := $(NETPBM_MINOR_RELEASE)
 POINT := $(NETPBM_POINT_RELEASE)
-version.h:
+version.h: $(SRCDIR)/Makefile.version
 	@rm -f $@
-	@echo "/* Generated by make file rule */" >$@
+	@echo "/* Generated by make file rule */" >>$@
 	@echo "#define NETPBM_VERSION" \
-	  \"Netpbm $(MAJOR).$(MINOR).$(POINT)"\"" >$@
+	  \"Netpbm $(MAJOR).$(MINOR).$(POINT)"\"" >>$@
 
 
 .PHONY: install