[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / pari / doc

File: [local] / OpenXM_contrib / pari / doc / Attic / Makefile (download)

Revision 1.1.1.1 (vendor branch), Sun Jan 9 17:35:29 2000 UTC (24 years, 4 months ago) by maekawa
Branch: PARI_GP
CVS Tags: maekawa-ipv6, VERSION_2_0_17_BETA, RELEASE_20000124, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.1: +0 -0 lines

Import PARI/GP 2.0.17 beta.

#  This file was created by Configure. Any change made to it will be lost
#  next time configure is run.
#
SHELL = /bin/sh

doc all: manual refcard tutorial
docps: refcard.ps tutorial.ps users.ps
manual: users.dvi
tutorial: tutorial.dvi

.SUFFIXES: .tex .ipf .pod .inf

paricfg.tex: paricfg.tex.in
	sed -e 's/@version@/2.0.17/'\
	    -e 's!@includedir@!/usr/local/include/pari!'\
	    -e 's!@libdir@!/usr/local/lib!'\
	    -e 's!@miscdir@!/usr/local/lib/pari!' paricfg.tex.in > $@

tutorial.dvi: tutorial.tex paricfg.tex
	tex tutorial.tex

refcard: refcard.ps

refcard.dvi: refcard.tex paricfg.tex
	tex refcard.tex

refcard.ps: refcard.dvi
	dvips -t landscape -t a4 refcard.dvi -o $@

users.ps: users.dvi
	dvips users.dvi -o $@

tutorial.ps: tutorial.dvi
	dvips tutorial.dvi -o $@

users.dvi: users.tex appa.tex appb.tex appc.tex\
 usersch1.tex usersch2.tex usersch3.tex usersch4.tex usersch5.tex\
 paricfg.tex parimacro.tex
	rm -f users.std; tex users;
	sed -e 's/!\([1-9]\)!/!00\1!/'\
	    -e 's/!\([1-9][0-9]\)!/!0\1!/'\
	    -e 's/[{][}]//'\
	  users.idx | sort -f |\
	sed -e 's/!0*\([0-9]*\)!/!\1!/' > users.std;
	tex users; rm -f users.idx

gpman: gp.1
	nroff -man gp.1 | unix2dos -ascii > gp.man

halfclean:	
	rm -f *.log *.dvi *.idx *.ps tutorial.aux

clean: halfclean	
	rm -f users.aux users.std users.toc

veryclean: clean
	rm -f paricfg.tex gp.man

.tex.pod:
	perl doc/gphelp -to_pod $*.tex > tmp_pod && mv tmp_pod $*.pod

.ipf.inf:
	ipfc /INF $*.ipf

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
	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