blob: 8353dad340dd92f40a98165691ff74ac908ae4b4 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# `Makefile' for `pst-fractal.pdf', hv, 2007/04/05
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
PACKAGE = pst-fractal
MAIN = $(PACKAGE)-doc
LATEX = latex
ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
TDS = ~/PSTricks/PSTricks-TDS
all : doc clean
doc: $(MAIN).pdf
$(MAIN).pdf : $(MAIN).ps
GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
$(MAIN).ps : $(MAIN).dvi
dvips $<
$(MAIN).dvi : $(MAIN).tex
$(LATEX) $<
$(LATEX) $<
if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
$(basename $<).glo
makeindex -t $(basename $<).ilg -o $(basename $<).ind \
$(basename $<).idx
biber $(basename $<)
$(LATEX) $<
$(LATEX) $<
clean :
$(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
$(RM) $(addprefix $(MAIN), .dvi .ps .bcf .run.xml)
veryclean : clean
$(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
arch :
zip $(ARCHNAME).zip $(ARCHFILES)
tds:
cp Changes $(TDS)/doc/generic/$(PACKAGE)/
cp README $(TDS)/doc/generic/$(PACKAGE)/
cp $(MAIN).pdf $(TDS)/doc/generic/$(PACKAGE)/
#
cp Changes $(TDS)/tex/latex/$(PACKAGE)/
cp $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/
#
cp Changes $(TDS)/tex/generic/$(PACKAGE)/
cp $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/
#
cp Changes $(TDS)/dvips/$(PACKAGE)/
cp $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/
#
cp Changes $(TDS)/source/$(PACKAGE)/
cp $(MAIN).tex $(TDS)/source/$(PACKAGE)/
cp $(MAIN).bib $(TDS)/source/$(PACKAGE)/
cp Makefile $(TDS)/source/$(PACKAGE)/
# cp -r images $(TDS)/source/$(PACKAGE)/
ctan:
rm -f .ctan/$(PACKAGE)/latex/*
cp *.sty .ctan/$(PACKAGE)/latex/
rm -f .ctan/$(PACKAGE)/tex/*
cp $(PACKAGE).tex .ctan/$(PACKAGE)/tex/
cp $(PACKAGE).pro .ctan/$(PACKAGE)/dvips/
cp $(PACKAGE).pro ~/Links/dvips-local/
rm -f .ctan/$(PACKAGE)/doc/*
cp $(PACKAGE)-doc.* .ctan/$(PACKAGE)/doc/
cp Changes .ctan/$(PACKAGE)/
cp README .ctan/$(PACKAGE)/
chmod -R a+r .ctan/$(PACKAGE)
# EOF
|