Skip to content

Commit

Permalink
bldchn, GNUmakefile updates version.mk at make time
Browse files Browse the repository at this point in the history
  • Loading branch information
rudimeier committed May 3, 2013
1 parent dcd5698 commit 10a7463
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ ifneq ($(_gl-Makefile),)

include Makefile

# update the included makefile snippet which sets VERSION variables
version.mk: FORCE
$(top_srcdir)/git-version-gen $(top_srcdir) $@

else

.DEFAULT_GOAL := abort-due-to-no-makefile
Expand All @@ -18,3 +22,5 @@ abort-due-to-no-makefile:
@exit 1

endif

.PHONY: FORCE

0 comments on commit 10a7463

Please sign in to comment.