annotate etc/gnusrefcard/Makefile @ 161:28f395d8dc7a r20-3b7

Import from CVS: tag r20-3b7
author cvs
date Mon, 13 Aug 2007 09:42:26 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
161
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
1 # -*- mode: makefile; tab-width: 4 -*-
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
2
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
3 ###### variables
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
4 sources = README Makefile makelogo gnuslogo.ps gnusref.tex \
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
5 quickref.tex refcard.tex booklet.tex bk-a4.tex bk-lt.tex
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
6 targets = quickref.ps refcard.ps $(bk-lt) $(bk-a4)
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
7 bk-lt = bk-lt-d.ps bk-lt-s1.ps bk-lt-s2.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
8 bk-a4 = bk-a4-d.ps bk-a4-s1.ps bk-a4-s2.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
9 x-lt = 10.8in
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
10 y-lt = 5.5in
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
11 x2-lt = -2.3in
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
12 y2-lt = 11.0in
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
13 x-a4 = 27.4cm
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
14 y-a4 = 14.85cm
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
15 x2-a4 = -6.3cm
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
16 y2-a4 = 29.7cm
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
17 first = -3L($(x-$*),0)+0L($(x-$*),$(y-$*))
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
18 second = 1R($(x2-$*),$(y2-$*))+-2R($(x2-$*),$(y-$*))
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
19 reverse = -1L($(x-$*),0)+2L($(x-$*),$(y-$*))
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
20
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
21 ###### user targets
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
22 all: $(targets)
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
23 quickref: quickref.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
24 refcard: refcard.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
25 booklet: bk-lt bk-a4
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
26 bk-lt: bk-lt-d bk-lt-s
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
27 bk-a4: bk-a4-d bk-a4-s
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
28 bk-lt-d: bk-lt-d.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
29 bk-lt-s: bk-lt-s1.ps bk-lt-s2.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
30 bk-a4-d: bk-a4-d.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
31 bk-a4-s: bk-a4-s1.ps bk-a4-s2.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
32 clean:
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
33 -rm -f *.dvi *.aux *.log *.toc gnuslogo.???* bk-??.ps $(targets)
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
34
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
35 ###### internal targets
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
36 quickref.ps: quickref.tex gnuslogo.quickref
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
37 latex quickref.tex
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
38 dvips quickref.dvi
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
39 refcard.ps: refcard.tex gnusref.tex gnuslogo.refcard
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
40 latex refcard.tex
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
41 dvips refcard.dvi
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
42 bk-lt.ps bk-a4.ps: bk-%.ps: bk-%.tex booklet.tex gnusref.tex gnuslogo.booklet
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
43 latex bk-$*.tex; latex bk-$*.tex # twice to make the TOC
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
44 dvips bk-$*.dvi
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
45 gnuslogo.quickref gnuslogo.refcard gnuslogo.booklet: gnuslogo.%: gnuslogo.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
46 ./makelogo $*
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
47 bk-lt-d.ps bk-a4-d.ps: bk-%-d.ps: bk-%.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
48 pstops '4:$(first),$(second)' bk-$*.ps bk-$*-d.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
49 bk-lt-s1.ps bk-a4-s1.ps: bk-%-s1.ps: bk-%.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
50 pstops '4:$(first)' bk-$*.ps bk-$*-s1.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
51 bk-lt-s2.ps bk-a4-s2.ps: bk-%-s2.ps: bk-%.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
52 pstops '4:$(reverse)' bk-$*.ps bk-$*-s2.ps
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
53
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
54 dist = /usr/menaik/ftp/pub/oolog/gnus
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
55 dist: $(sources) $(targets)
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
56 -mkdir $(dist);
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
57 -rm -f $(dist)/*
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
58 tar cf - $(sources) | gzip > $(dist)/gnusref.tar.gz
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
59 for F in $(targets); do gzip -c $$F > $(dist)/$$F.gz; done
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
60 cp README $(dist)/README
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
61 chmod ogu+r $(dist) $(dist)/*
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents:
diff changeset
62 ls -l $(dist)