X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/e1cac9038a61be38d446ff6b2da21ca3d3e8b450..dc07bc36907e3273eaac7199212b91bb290875fa:/tools/make/makefile diff --git a/tools/make/makefile b/tools/make/makefile index 9fd2c44..b2f4944 100644 --- a/tools/make/makefile +++ b/tools/make/makefile @@ -4,9 +4,11 @@ NOP = @echo "No operation for target $@" COMPILE = $(NOP) +COMPILE_TARGET = compile.stamp COPY = $(NOP) ZIP = zip -r $(project).zip $(project) DEB = fakeroot dpkg-deb --build $(project) +INSERT_BUILD = projects/tools/make/insert_build.sh #default parameters project = default @@ -28,7 +30,7 @@ include make.pre # #----------------------------------------------------------------- -compile: compile.stamp +compile: $(COMPILE_TARGET) # compile ist fertig zip: $(project).zip @@ -37,10 +39,12 @@ zip: $(project).zip deb: $(project).deb # Debian package ready +version: $(COMPILE_TARGET) + $(INSERT_BUILD) $(COMPILE_TARGET) $(build) + #----------------------------------------------------------------- # compile steps #----------------------------------------------------------------- - compile.stamp: $(SOURCES) $(COMPILE) @touch compile.stamp @@ -77,6 +81,6 @@ clean: #----------------------------------------------------------------- # Build-Regeln #----------------------------------------------------------------- -%.pdf : %.tex - pdflatex $< +%.pdf : %.tex $(SOURCES) + pdflatex $< && pdflatex $<