X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fnlibrary%2Ftopology%2FMakefile;h=4a78164fbf95353e0f0b18e0b373194c87750c50;hb=8b33918a53a2c752e2256b328bc0e45f4827beac;hp=74648f75c0a3f01f83a1ab2ddc1ac49abdbf87c3;hpb=bee436af0c6ceb1c83259c94036df8b12f901f2d;p=helm.git diff --git a/helm/software/matita/nlibrary/topology/Makefile b/helm/software/matita/nlibrary/topology/Makefile index 74648f75c..4a78164fb 100644 --- a/helm/software/matita/nlibrary/topology/Makefile +++ b/helm/software/matita/nlibrary/topology/Makefile @@ -1,12 +1,20 @@ +SRC=igft.ma -all: - for X in *.ma; do $(MAKE) $$X.html; done +all: $(SRC:%.ma=%.html) + +print: $(SRC:%.ma=%.pdf) + +%.pdf: %.html + # requires http://torisugari.googlepages.com/commandlineprint2 + touch $@ + iceweasel -print file://$$PWD/$< -printmode PDF -printfile ./$@ clean: - rm *.html *.png + rm *.html *.png *.mdwn -%.ma.html: %.ma convert.awk preamble.xml postamble.xml +%.html: %.ma convert.awk preamble.xml postamble.xml cat preamble.xml > $@ - awk -f convert.awk < $< | markdown >> $@ + awk -f convert.awk < $< > $*.mdwn + markdown < $*.mdwn >> $@ cat postamble.xml >> $@