| 1 |
# Makefile (linux style) for creation of fcolumn-related files. |
| 2 |
.SUFFIXES: .dtx .glo .gls .idx .ind .ins .pdf .sty .tex |
| 3 |
DIST=fcolumn.dtx fcolumn.ins fcolumn.pdf fcexample.pdf fcexample.tex makefile README |
| 4 |
|
| 5 |
.ins.sty: |
| 6 |
pdftex $< |
| 7 |
|
| 8 |
.dtx.glo: |
| 9 |
pdflatex $< |
| 10 |
|
| 11 |
.dtx.idx: |
| 12 |
pdflatex $< |
| 13 |
|
| 14 |
.glo.gls: |
| 15 |
makeindex -s gglo.ist -o $*.gls $*.glo |
| 16 |
|
| 17 |
.idx.ind: |
| 18 |
makeindex -s gind.ist -o $*.ind $*.idx |
| 19 |
|
| 20 |
.dtx.pdf: |
| 21 |
pdflatex $< |
| 22 |
|
| 23 |
.tex.pdf: |
| 24 |
pdflatex $< |
| 25 |
|
| 26 |
all: fcolumn.pdf |
| 27 |
|
| 28 |
install: |
| 29 |
pdftex fcolumn.ins |
| 30 |
|
| 31 |
dist: $(DIST) |
| 32 |
mkdir fcolumn ; cp $(DIST) fcolumn/ ; zip -r fcolumn.zip fcolumn/ ; rm -r fcolumn/ |
| 33 |
|
| 34 |
dust: $(DIST) |
| 35 |
mkdir fcolumn ; cp $(DIST) fcolumn/ ; tar -czf fcolumn.tgz fcolumn/ ; rm -r fcolumn/ |
| 36 |
|
| 37 |
fcolumn.glo fcolumn.idx: fcolumn.dtx |
| 38 |
fcolumn.ind: fcolumn.idx |
| 39 |
fcolumn.gls: fcolumn.glo |
| 40 |
fcolumn.pdf: fcolumn.dtx fcolumn.gls fcolumn.ind |
| 41 |
|
| 42 |
.PHONY: clean |
| 43 |
clean: |
| 44 |
-rm fcolumn.aux fcolumn.glo fcolumn.gls fcolumn.hd fcolumn.idx fcolumn.ilg \ |
| 45 |
fcolumn.ind fcolumn.log fcolumn.out fcolumn.pdf fcolumn.sty fcolumn.tgz \ |
| 46 |
fcexample.aux fcexample.log fcexample.pdf |