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)
#
#-----------------------------------------------------------------
-compile: compile.stamp
+compile: $(COMPILE_TARGET)
# compile ist fertig
zip: $(project).zip
#-----------------------------------------------------------------
# compile steps
#-----------------------------------------------------------------
-
compile.stamp: $(SOURCES)
$(COMPILE)
@touch compile.stamp
if [ -e $(project).zip ]; then rm $(project).zip; fi
if [ -e $(project) ]; then rm -rf $(project); fi
+#-----------------------------------------------------------------
+# Build-Regeln
+#-----------------------------------------------------------------
+%.pdf : %.tex $(SOURCES)
+ pdflatex $<
+