Annotation of OpenXM_contrib/pari-2.2/doc/Makefile, Revision 1.1
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:
! 13: .SUFFIXES: .tex .ipf .pod .inf .dumbpod
! 14:
! 15: paricfg.tex: paricfg.tex.in
! 16: sed -e 's/@version@/2.2.1/'\
! 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'\
! 65: users.idx | sort -f |\
! 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'\
! 76: users.idx | sort -f |\
! 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:
! 97: perl gphelp -to_dumb_pod .tex > tmp_pod && mv tmp_pod .dumbpod
! 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:
! 110: # Wrong syntax... How to convert a group of files?
! 111: #pari.html: refcard.dumbpod tutorial.dumbpod usersch1.dumbpod usersch1.dumbpod usersch2.dumbpod usersch3.dumbpod usersch4.dumbpod usersch5.dumbpod appa.dumbpod appb.dumbpod appc.dumbpod
! 112: # 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
! 113:
! 114: .dumbpod.html:
! 115: pod2html --title="PARI/GP Manual Getting started" --file=.dumbpod > tmp_html && mv tmp_html .html
! 116:
! 117:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>