Annotation of OpenXM_contrib/pari/config/DOC_Make.SH, Revision 1.1
1.1 ! maekawa 1: cat > doc/Makefile << EOT
! 2: # This file was created by Configure. Any change made to it will be lost
! 3: # next time configure is run.
! 4: #
! 5: SHELL = $make_sh
! 6:
! 7: doc all: manual refcard tutorial
! 8: docps: refcard.ps tutorial.ps users.ps
! 9: manual: users.dvi
! 10: tutorial: tutorial.dvi
! 11:
! 12: .SUFFIXES: .tex .ipf .pod .inf
! 13:
! 14: paricfg.tex: paricfg.tex.in
! 15: sed -e 's/@version@/$version.$patch/'\\
! 16: -e 's!@includedir@!/usr/local/include/pari!'\\
! 17: -e 's!@libdir@!/usr/local/lib!'\\
! 18: -e 's!@miscdir@!/usr/local/lib/pari!' paricfg.tex.in > \$@
! 19:
! 20: tutorial.dvi: tutorial.tex paricfg.tex
! 21: tex tutorial.tex
! 22:
! 23: refcard: refcard.ps
! 24:
! 25: refcard.dvi: refcard.tex paricfg.tex
! 26: tex refcard.tex
! 27:
! 28: refcard.ps: refcard.dvi
! 29: dvips -t landscape -t a4 refcard.dvi -o \$@
! 30:
! 31: users.ps: users.dvi
! 32: dvips users.dvi -o \$@
! 33:
! 34: tutorial.ps: tutorial.dvi
! 35: dvips tutorial.dvi -o \$@
! 36:
! 37: users.dvi: users.tex appa.tex appb.tex appc.tex\\
! 38: usersch1.tex usersch2.tex usersch3.tex usersch4.tex usersch5.tex\\
! 39: paricfg.tex parimacro.tex
! 40: rm -f users.std; tex users;
! 41: sed -e 's/!\([1-9]\)!/!00\1!/'\\
! 42: -e 's/!\([1-9][0-9]\)!/!0\1!/'\\
! 43: -e 's/[{][}]//'\\
! 44: users.idx | sort -f |\\
! 45: sed -e 's/!0*\([0-9]*\)!/!\1!/' > users.std;
! 46: tex users; rm -f users.idx
! 47:
! 48: gpman: gp.1
! 49: nroff -man gp.1 | unix2dos -ascii > gp.man
! 50:
! 51: halfclean:
! 52: rm -f *.log *.dvi *.idx *.ps tutorial.aux
! 53:
! 54: clean: halfclean
! 55: rm -f users.aux users.std users.toc
! 56:
! 57: veryclean: clean
! 58: rm -f paricfg.tex gp.man
! 59:
! 60: .tex.pod:
! 61: perl $doc_dir/gphelp -to_pod \$*.tex > tmp_pod && mv tmp_pod \$*.pod
! 62:
! 63: .ipf.inf:
! 64: ipfc /INF \$*.ipf
! 65:
! 66: pari.ipf: refcard.pod tutorial.pod usersch1.pod usersch1.pod usersch2.pod usersch3.pod usersch4.pod usersch5.pod appa.pod appb.pod appc.pod appd.pod
! 67: 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 --file=appd.pod > tmp_ipf && mv tmp_ipf pari.ipf
! 68: EOT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>