Mercurial > docs > DesignPatterns
annotate Makefile @ 2:961cb2d9b1b5
added make clean
author | meillo@marmaro.de |
---|---|
date | Wed, 30 May 2007 12:40:26 +0200 |
parents | fe9c99202977 |
children | 0923f2ae50a5 |
rev | line source |
---|---|
1 | 1 # Makefile for latex docs |
0 | 2 |
3 SRC = main.tex | |
4 OBJ = ${SRC:.tex=.pdf} | |
5 | |
6 all: xpdf | |
7 | |
8 #.tex.pdf: | |
9 # @echo pdflatex $< | |
10 # @pdflatex $< | |
11 | |
12 ${OBJ}: ${SRC} | |
13 @echo pdflatex $@ | |
14 @pdflatex ${SRC} | |
15 @pdflatex ${SRC} | |
16 | |
17 xpdf: ${OBJ} | |
18 @echo xpdf $@ | |
19 @xpdf -z page ${OBJ} | |
20 @rm ${OBJ} | |
21 | |
2 | 22 clean: |
23 echo 'cleaning ...' | |
24 rm *.{aux,lof,log,lot,nav,out,snm,toc} | |
0 | 25 |
26 .PHONY: all xpdf |