Forcing version regen on combine if in git repo
This will re-run `autoconf` if it is detected that the user is within the git repository, which will force `configure` to be regenerated; this is necessary, since `configure.ac` contains the version macros.protolib
parent
013da59d7f
commit
8558d90596
|
@ -65,7 +65,11 @@ $(path_build):
|
|||
$(MKDIR_P) "$(path_build)"
|
||||
|
||||
|
||||
combine: $(path_combine_output) $(path_build)/browser-test.html
|
||||
combine: reconf $(path_combine_output) $(path_build)/browser-test.html
|
||||
|
||||
# will force a reconfigure (for version data) if in the git repo
|
||||
reconf:
|
||||
test -d .git && autoconf && ./configure
|
||||
|
||||
# combine all modules into easily redistributable ease.js file (intended for
|
||||
# browser)
|
||||
|
@ -155,7 +159,7 @@ ChangeLog: FORCE
|
|||
> $@
|
||||
# we *only* want this in a distribution, otherwise the version number will
|
||||
# never change!
|
||||
version:
|
||||
version: FORCE
|
||||
$(path_tools)/vergen > $@
|
||||
|
||||
clean-local:
|
||||
|
|
Loading…
Reference in New Issue