Annotation of OpenXM_contrib/pari-2.2/doc/Makefile, Revision 1.2
1.1 noro 1: # This file was created by Configure. Any change made to it will be lost
2: # next time configure is run.
3: #
4: SHELL = /bin/sh
5:
6: doc all: manual refcard tutorial
7: docps: refcard.ps tutorial.ps users.ps ../INSTALL.ps
8: docpdf: users.pdf tutorial.pdf refcard.pdf ../INSTALL.pdf
9: manual: users.dvi
10: tutorial: tutorial.dvi
11: refcard: refcard.ps
12:
1.2 ! noro 13: .SUFFIXES: .tex .ipf .pod .inf .dumbpod .3 .html
1.1 noro 14:
15: paricfg.tex: paricfg.tex.in
1.2 ! noro 16: sed -e 's/@version@/2.2.4/'\
1.1 noro 17: -e 's!@includedir@!/usr/local/include/pari!'\
18: -e 's!@libdir@!/usr/local/lib!'\
19: -e 's!@miscdir@!/usr/local/lib/pari!' paricfg.tex.in > $@
20:
21: tutorial.pdf: tutorial.tex paricfg.tex
22: -touch wantpdfoutput
23: pdftex tutorial.tex
24: -rm -f wantpdfoutput
25:
26: refcard.pdf: refcard.tex paricfg.tex
27: -touch wantpdfoutput
28: pdftex refcard.tex
29: -rm -f wantpdfoutput
30:
31: ../INSTALL.pdf: ../INSTALL.tex
32: -cd ..; touch wantpdfoutput; pdftex INSTALL.tex; rm -f wantpdfoutput
33:
34: tutorial.dvi: tutorial.tex paricfg.tex
35: -rm -f wantpdfoutput
36: tex tutorial.tex
37:
38: refcard.dvi: refcard.tex paricfg.tex
39: -rm -f wantpdfoutput
40: tex refcard.tex
41:
42: ../INSTALL.dvi: ../INSTALL.tex
43: -cd ..; rm -f wantpdfoutput; tex INSTALL.tex
44:
45: refcard.ps: refcard.dvi
46: dvips -t landscape -t a4 refcard.dvi -o $@
47:
48: users.ps: users.dvi
49: dvips users.dvi -o $@
50:
51: tutorial.ps: tutorial.dvi
52: dvips tutorial.dvi -o $@
53:
54: ../INSTALL.ps: ../INSTALL.dvi
55: dvips ../INSTALL.dvi -o $@
56:
57: users.dvi: users.tex appa.tex appb.tex appc.tex\
58: usersch1.tex usersch2.tex usersch3.tex usersch4.tex usersch5.tex\
59: paricfg.tex parimacro.tex
60: -rm -f wantpdfoutput
61: rm -f users.std; tex users;
62: sed -e 's/!\([1-9]\)!/!00\1!/'\
63: -e 's/!\([1-9][0-9]\)!/!0\1!/'\
64: -e 's/\\EFF {}/f/g'\
1.2 ! noro 65: users.idx | env LANG=C sort -f |\
1.1 noro 66: sed -e 's/!00*\([0-9]*\)!/!\1!/' > users.std;
67: tex users; rm -f users.idx
68:
69: users.pdf: users.tex appa.tex appb.tex appc.tex\
70: usersch1.tex usersch2.tex usersch3.tex usersch4.tex usersch5.tex\
71: paricfg.tex parimacro.tex
72: rm -f users.std; touch wantpdfoutput; pdftex users;
73: sed -e 's/!\([1-9]\)!/!00\1!/'\
74: -e 's/!\([1-9][0-9]\)!/!0\1!/'\
75: -e 's/\\EFF {}/f/g'\
1.2 ! noro 76: users.idx | env LANG=C sort -f |\
1.1 noro 77: sed -e 's/!00*\([0-9]*\)!/!\1!/' > users.std;
78: pdftex users; rm -f users.idx wantpdfoutput
79:
80: gpman: gp.1
81: nroff -man gp.1 | unix2dos -ascii > gp.man
82:
83: clean:
84: rm -f *.log *.dvi *.idx *.ps *.pdf *.aux *.toc users.std wantpdfoutput\
85: ../INSTALL.log ../INSTALL.dvi ../INSTALL.idx ../INSTALL.pdf\
86: ../INSTALL.aux ../INSTALL.toc ../INSTALL.ps ../wantpdfoutput
87:
88: cleandoc: clean
89:
90: veryclean: clean
91: rm -f paricfg.tex gp.man
92:
93: .tex.pod:
94: perl gphelp -to_pod $*.tex > tmp_pod && mv tmp_pod $*.pod
95:
96: .tex.dumbpod:
1.2 ! noro 97: perl gphelp -to_dumb_pod $*.tex > tmp_pod && mv tmp_pod $*.dumbpod
1.1 noro 98:
99: .ipf.inf:
100: ipfc /INF $*.ipf
101:
102: # This is for testing:
103:
104: .pod.ipf:
105: pod2ipf $*.pod > tmp_ipf && mv tmp_ipf $*.ipf
106:
107: pari.ipf: refcard.pod tutorial.pod usersch1.pod usersch1.pod usersch2.pod usersch3.pod usersch4.pod usersch5.pod appa.pod appb.pod appc.pod
108: pod2ipf --title="PARI/GP Manual" --by-files --section-name="Getting started" --file=refcard.pod --file=tutorial.pod --section-name="User guide" --file=usersch1.pod --file=usersch1.pod --file=usersch2.pod --file=usersch3.pod --file=usersch4.pod --file=usersch5.pod --section-name=Appendices --file=appa.pod --file=appb.pod --file=appc.pod > tmp_ipf && mv tmp_ipf pari.ipf
109:
1.2 ! noro 110: dumbpod: appa.dumbpod appb.dumbpod appc.dumbpod usersch1.dumbpod usersch2.dumbpod usersch3.dumbpod usersch4.dumbpod usersch5.dumbpod
! 111:
1.1 noro 112: # Wrong syntax... How to convert a group of files?
113: #pari.html: refcard.dumbpod tutorial.dumbpod usersch1.dumbpod usersch1.dumbpod usersch2.dumbpod usersch3.dumbpod usersch4.dumbpod usersch5.dumbpod appa.dumbpod appb.dumbpod appc.dumbpod
114: # pod2html --title="PARI/GP Manual" --by-files --section-name="Getting started" --file=refcard.dumbpod --file=tutorial.dumbpod --section-name="User guide" --file=usersch1.dumbpod --file=usersch1.dumbpod --file=usersch2.dumbpod --file=usersch3.dumbpod --file=usersch4.dumbpod --file=usersch5.dumbpod --section-name=Appendices --file=appa.dumbpod --file=appb.dumbpod --file=appc.dumbpod > tmp_ipf && mv tmp_ipf pari.html
115:
116: .dumbpod.html:
1.2 ! noro 117: pod2html --title="PARI/GP Manual, part $*" --infile=$*.dumbpod --outfile=tmp_html && mv tmp_html $*.html
! 118:
! 119: manpages: dumbpod appa.3 appb.3 appc.3 usersch1.3 usersch2.3 usersch3.3 usersch4.3 usersch5.3
! 120:
! 121: html: dumbpod appa.html appb.html appc.html usersch1.html usersch2.html usersch3.html usersch4.html usersch5.html
! 122:
! 123: .dumbpod.3:
! 124: pod2man --section=3 --center="PARI/GP Manual, part $*" --release=2.2.4 --lax $*.dumbpod > tmp_man && mv tmp_man $*.3
1.1 noro 125:
126:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>