X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/8aa3f75cc1f16a25491abc5cd8a4ed554ad26f0d..c8af998eae0c5d2dab14d5e36cccb9d9b6f60d0c:/tools/make/makefile diff --git a/tools/make/makefile b/tools/make/makefile index 60e6780..6513f24 100644 --- a/tools/make/makefile +++ b/tools/make/makefile @@ -4,6 +4,7 @@ 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) @@ -28,7 +29,7 @@ include make.pre # #----------------------------------------------------------------- -compile: compile.stamp +compile: $(COMPILE_TARGET) # compile ist fertig zip: $(project).zip @@ -40,7 +41,6 @@ deb: $(project).deb #----------------------------------------------------------------- # compile steps #----------------------------------------------------------------- - compile.stamp: $(SOURCES) $(COMPILE) @touch compile.stamp @@ -74,3 +74,9 @@ clean: if [ -e $(project).zip ]; then rm $(project).zip; fi if [ -e $(project) ]; then rm -rf $(project); fi +#----------------------------------------------------------------- +# Build-Regeln +#----------------------------------------------------------------- +%.pdf : %.tex $(SOURCES) + pdflatex $< +