summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rrgtrees/Makefile
blob: 67bca1007afc7b4c2ba93260e94a218890b404af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# This makefile is mainly for my convenience, so that the tarball is
# made with all the right bits. But I'm including it in the distro
# for people who want to see how I make the pdf file.... 
#
SRC=rrgtrees.dtx rrgtrees.ins Makefile
PRODUCTS=rrgtrees.sty
SIDEEFFECTS=rrgtrees.aux rrgtrees.log rrgtrees.dvi 
DOCS=rrgtrees.pdf README

doc: rrgtrees.pdf
	
rrgtrees.dvi: rrgtrees.sty rrgtrees.dtx
	latex rrgtrees.dtx
	latex rrgtrees.dtx

rrgtrees.ps: rrgtrees.dvi
	dvips rrgtrees.dvi -o rrgtrees.ps

rrgtrees.pdf: rrgtrees.ps
	ps2pdf rrgtrees.ps rrgtrees.pdf


rrgtrees.sty: $(SRC)
	latex rrgtrees.ins
clean:
	-rm $(SIDEEFFECTS)
spotless:
	-rm $(PRODUCTS) $(DOCS)
tarball: $(SRC) $(DOCS)
	tar -czvf rrgtrees.tgz $(SRC) $(DOCS)