summaryrefslogtreecommitdiff
path: root/Makefile
blob: 70392252d423fa6d01e17eaaa4abdf496daad612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TARGET=gbp.pdf
IMGS=$(shell ls images/*.png)
SOURCES = $(TARGET:pdf=tex)

all: $(TARGET) $(IMGS)

$(TARGET): $(SOURCES)
	pdflatex $<

clean:
	rm -f *.toc *.cgm *.nav *.log *.out *.aux *.snm *.*~ *.vrb

allforce:
	rm -f $(TARGET)
	make all
	rm -f $(TARGET)
	make all

show: $(TARGET) Makefile
	evince -s --page-label=1 $(TARGET)