X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fdidactic%2FMakefile;h=d31ab55257eeff69475c0558621a2faa2c7c9e10;hb=625846fd7d1b0063b3b3a81ff9bbf36ddccf84f1;hp=fd1b47a87502fecf0d335fc29fa9f574a639cf27;hpb=24606db07721e6edf9f1f51a07df75f0cdfba200;p=helm.git diff --git a/helm/software/matita/contribs/didactic/Makefile b/helm/software/matita/contribs/didactic/Makefile index fd1b47a87..d31ab5525 100644 --- a/helm/software/matita/contribs/didactic/Makefile +++ b/helm/software/matita/contribs/didactic/Makefile @@ -16,7 +16,7 @@ depend.opt: $(BIN)matitadep.opt -dot && rm depends.dot exercise-%: % cp $< $@ - perl -ne 'undef $$/;s/\(\*BEGIN.*?END\*\)/.../msg;print' -i $@ - #perl -ne 'undef $$/;s/\(\*DOCBEGIN.*?DOCEND\*\)//msg;print' -i $@ + perl -ne 'undef $$/;s/\(\*BEGIN.*?END\*\)/…/msg;print' -i $@ + perl -ne 'undef $$/;s/\(\*DOCBEGIN.*?DOCEND\*\)//msg;print' -i $@ (echo ''; awk 'BEGIN { p = 0; } /DOCEND/ { p = 0; } { if (p == 1) print $$0; } /DOCBEGIN/ { p = 1;}' < $< | markdown; echo '') > $@.html