| 1 |
# |
| 2 |
# This makefile is mainly for my convenience, so that the tarball is |
| 3 |
# made with all the right bits. But I'm including it in the distro |
| 4 |
# for people who want to see how I make the pdf file.... |
| 5 |
# |
| 6 |
SRC=rrgtrees.dtx rrgtrees.ins Makefile |
| 7 |
PRODUCTS=rrgtrees.sty |
| 8 |
SIDEEFFECTS=rrgtrees.aux rrgtrees.log rrgtrees.dvi |
| 9 |
DOCS=rrgtrees.pdf README |
| 10 |
|
| 11 |
doc: rrgtrees.pdf |
| 12 |
|
| 13 |
rrgtrees.dvi: rrgtrees.sty rrgtrees.dtx |
| 14 |
latex rrgtrees.dtx |
| 15 |
latex rrgtrees.dtx |
| 16 |
|
| 17 |
rrgtrees.ps: rrgtrees.dvi |
| 18 |
dvips rrgtrees.dvi -o rrgtrees.ps |
| 19 |
|
| 20 |
rrgtrees.pdf: rrgtrees.ps |
| 21 |
ps2pdf rrgtrees.ps rrgtrees.pdf |
| 22 |
|
| 23 |
|
| 24 |
rrgtrees.sty: $(SRC) |
| 25 |
latex rrgtrees.ins |
| 26 |
clean: |
| 27 |
-rm $(SIDEEFFECTS) |
| 28 |
spotless: |
| 29 |
-rm $(PRODUCTS) $(DOCS) |
| 30 |
tarball: $(SRC) $(DOCS) |
| 31 |
tar -czvf rrgtrees.tgz $(SRC) $(DOCS) |