X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/c9b0630e680308a6389cdf758bb677d811a2d05b..dfda162adb766468fdcd01de333683e215231c07:/tools/make/makefile diff --git a/tools/make/makefile b/tools/make/makefile index 7fadac9..0102534 100644 --- a/tools/make/makefile +++ b/tools/make/makefile @@ -12,7 +12,6 @@ DEB = fakeroot dpkg-deb --build $(project) project = default SOURCES = COPY_PRE = -TEX = pdflatex # Load project specification include make.pre @@ -29,7 +28,7 @@ include make.pre # #----------------------------------------------------------------- -compile: compile.stamp +compile: $(COMPILE_TARGET) # compile ist fertig zip: $(project).zip @@ -41,7 +40,6 @@ deb: $(project).deb #----------------------------------------------------------------- # compile steps #----------------------------------------------------------------- - compile.stamp: $(SOURCES) $(COMPILE) @touch compile.stamp @@ -65,7 +63,7 @@ $(project).zip: copy.stamp $(project) $(project).deb: copy.stamp control.stamp $(DEB) - cp $(project).deb $(project)_$(version).deb + cp $(project).deb $(project)_$(version)$(_arch).deb #----------------------------------------------------------------- # utilities @@ -76,9 +74,8 @@ clean: if [ -e $(project) ]; then rm -rf $(project); fi #----------------------------------------------------------------- -# generische Regeln +# Build-Regeln #----------------------------------------------------------------- -%.pdf:%.tex - $(TEX) $< +%.pdf : %.tex $(SOURCES) + pdflatex $< --include make.post