Skip to content

Commit

Permalink
Fix missed autoversion.h when automake autoreconf
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Li <Frank.Li@nxp.com>
  • Loading branch information
nxpfrankli committed Jul 26, 2016
1 parent 1f4d901 commit a817b20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/Makefile.am
Expand Up @@ -3,6 +3,9 @@ noinst_HEADERS=version.h
version.h: stamp-vh
@:

all: config.h
echo "const char *git_sha = \""`git rev-parse HEAD`"\";" > ../include/autoversion.h

stamp-vh: $(top_builddir)/configure.in
@echo "/*" > ver.tmp
@echo " * version.h" >> ver.tmp
Expand Down

0 comments on commit a817b20

Please sign in to comment.