cosmetics
[PyX/mjg.git] / faq / Makefile
blob363e9b305553fd51e64853354635f0d66739ebd1
1 default: pyxfaq.pdf
3 clean: partclean
4 -rm pyxfaq.pdf glifaq.pdf glifaq.sty
6 partclean:
7 -rm *.aux *.out *.toc *.log *.glo *.idx
8 -rm pyxversion.tex pyxdate.tex
10 all: pdf
12 pdf: pyxfaq.pdf glifaq.pdf
14 pyxfaq.pdf: pyxfaq.tex pyxversion.tex pyxdate.tex glifaq.sty
15 pdflatex pyxfaq
16 pdflatex pyxfaq
17 pdflatex pyxfaq
19 glifaq.sty: glifaq.dtx glifaq.ins
20 latex glifaq.ins
22 glifaq.pdf: glifaq.dtx
23 pdflatex glifaq.dtx
24 pdflatex glifaq.dtx
26 pyxversion.tex: ../pyx/version.py
27 python -c "import sys;sys.path[:0]=[\"..\"];import pyx.version;print pyx.version.version+'%'" > pyxversion.tex
29 pyxdate.tex: ../pyx/version.py
30 python -c "import sys;sys.path[:0]=[\"..\"];import pyx.version;print pyx.version.date+'%'" > pyxdate.tex
32 publicserver = shell.sourceforge.net
33 publicpath = /home/groups/p/py/pyx/htdocs
35 public:
36 @bash -c 'yn=""; while [ "x"$$yn != "xy" ]; do echo -n "upload pyxfaq.pdf? [y/n] "; read yn; if [ "x"$$yn == "xn" ]; then exit 1; fi; done'
37 scp pyxfaq.pdf $(publicserver):$(publicpath)
38 -ssh $(publicserver) "cd $(publicpath); chmod -fR g+w pyxfaq.pdf"
40 tipapyks.pdf: tipa.py
41 python tipa.py "pYks" "pyks"
43 tipapyx.pdf: tipa.py
44 python tipa.py "pYx" "pyx"
46 tipapych.pdf: tipa.py
47 python tipa.py "pY\\c c" "pych"