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.am | |
parent | a0d4a1a6d1b81b132787e382ac3f8487b71cf52c (diff) |
Force recompilation of version.c
Change-Id: Ife9d074c83df739a39f363203fac149bfbc2c49b
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp/Makefile.am')
-rw-r--r-- | vpp/Makefile.am | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vpp/Makefile.am b/vpp/Makefile.am index 1e3bbf08..8560fe54 100644 --- a/vpp/Makefile.am +++ b/vpp/Makefile.am @@ -51,14 +51,17 @@ api_DATA = api/vpe.api BUILT_SOURCES += api/vpe.api.h app/version.h +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)\"" >> $@ vpe_LDADD = -lvlibapi -lvlibmemory -lvlib_unix -lvlib |