src_dir= `pwd` manual_src = manual.xml manual_out = manual.html xsl_file = papi.xsl SUBDIRS = examples all: html html: $(manual) $(xsl_file) @echo "Creating HTML manual..." @xsltproc --xinclude --output $(manual_out) $(xsl_file) $(manual_src) srcclean: clean @rm -f *.html clean: @echo "Cleaning up in $(src_dir)/ ..." @rm -f *~ *.core @echo "Cleaning up in $(src_dir)/examples ..." @cd $(src_dir)/examples @rm -f *~ *.core *.pyc *.pyo *.py~