changed | /trunk/users_guide/Makefile |
changed | /trunk/users_guide/README |
--- a/trunk/users_guide/Makefile +++ b/trunk/users_guide/Makefile @@ -1,13 +1,19 @@ # Makefile for matplotlib users_guide PYTHON = /usr/local/bin/python2.3 +all: + make figs dvi pdf clean: find . \( -name "*~" -o -name "*.pyc" -o -name "#*" \) | xargs rm -f;\ rm -f *.log *.pdf *.aux *.dvi *.ps + pdf: pdflatex users_guide dvi: latex users_guide + +figs: + cd code; ${PYTHON} runall.py \ No newline at end of file
--- a/trunk/users_guide/README +++ b/trunk/users_guide/README @@ -4,12 +4,10 @@ * Generate the figures (png and eps) by running the script runall.py in the code dir. Verify that the figures in the figures dir are - built. Verify also that the *.dat files in data were built + built. Verify also that the *.dat files in data were built. Or + run 'make figs' - * run latex + * build the docs - > latex users_guide # to generate dvi/ps and - or - - > pdflatex users_guide # pdf - + > make dvi + > make pdf \ No newline at end of file