Added script and command for dumping version and revision information. Also added define for enabling or disabling this until we have a windows script for updating hgversion.h.inc.

This commit is contained in:
richard
2009-08-23 06:19:15 +02:00
parent 0dc83c6297
commit a5e3944234
7 changed files with 104 additions and 0 deletions

View File

@ -2,6 +2,7 @@
SOURCEDIR=src
BUILDDIR=build
SPCOMP=bin/spcomp
VERSIONDUMP=./updateversion.sh
vpath %.sp $(SOURCEDIR)
vpath %.inc $(SOURCEDIR)/include
@ -24,6 +25,7 @@ prepare_builddir:
@mkdir -p $(BUILDDIR)
%.smx: %.sp
$(VERSIONDUMP)
$(SPCOMP) -i$(SOURCEDIR) -i$(SOURCEDIR)/include -o$(BUILDDIR)/$@ $<
clean: