diff options
author | 2015-12-13 15:10:31 -0500 | |
---|---|---|
committer | 2015-12-13 15:10:52 -0500 | |
commit | cd9752ce4f27dcad68ae085b519654ad5b10731a (patch) | |
tree | 830d6b75d5a76ca1b2b0d94033ee7ae017b289c5 /vpp/Makefile.in | |
parent | a0d4a1a6d1b81b132787e382ac3f8487b71cf52c (diff) |
Force recompilation of version.c
Change-Id: Ife9d074c83df739a39f363203fac149bfbc2c49b
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp/Makefile.in')
-rw-r--r-- | vpp/Makefile.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/vpp/Makefile.in b/vpp/Makefile.in index 17f3a8cd..13247166 100644 --- a/vpp/Makefile.in +++ b/vpp/Makefile.in @@ -1074,17 +1074,18 @@ uninstall-am: uninstall-apiDATA uninstall-binPROGRAMS \ uninstall-binPROGRAMS uninstall-libLTLIBRARIES \ uninstall-nobase_includeHEADERS -.PRECIOUS: Makefile +app/version.o: app/version.h .PHONY: app/version.h -app/version.h: ../build-root/scripts/version - @echo "#define VPP_BUILD_DATE \"$$(date)\"" > $@ - @echo "#define VPP_BUILD_USER \"$$(whoami)\"" >> $@ - @echo "#define VPP_BUILD_HOST \"$$(hostname)\"" >> $@ +app/version.h: + @echo " VERSION " $@ + @echo "#define VPP_BUILD_DATE \"$$(date)\"" > $@ + @echo "#define VPP_BUILD_USER \"$$(whoami)\"" >> $@ + @echo "#define VPP_BUILD_HOST \"$$(hostname)\"" >> $@ @echo "#define VPP_BUILD_TOPDIR \"$$(git rev-parse --show-toplevel)\"" >> $@ - @echo "#define VPP_BUILD_VER \"$$(../../scripts/version)\"" >> $@ + @echo "#define VPP_BUILD_VER \"$$(../../scripts/version)\"" >> $@ %.api.h: %.api @echo " APIGEN " $@ ; \ |