X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Fmatita%2FMakefile;h=c54475713a9031a9579b2d4fa86f0f1ba7200478;hb=258d2e384e8bf7008d2fb01c7d3fee5126d65120;hp=4e33738d80d80f1d42793623b95554806d7441e3;hpb=375bd212e04283a955d1e4adfe81f650ba07e8e9;p=helm.git diff --git a/helm/www/matita/Makefile b/helm/www/matita/Makefile index 4e33738d8..c54475713 100644 --- a/helm/www/matita/Makefile +++ b/helm/www/matita/Makefile @@ -2,6 +2,10 @@ # should be a checked out version of sofware/matita/help/C/ (or a symlink to it) DOCS_SRC_DIR = docs-src DOCS_DEST_DIR = $(CURDIR)/docs/manual +# should be a checked out and compiled with -execcomments of +# sofware/matita/nlibrary/topology/igft.ma +TUTORIAL_SRC_DIR = tutorial-src +TUTORIAL_DEST_DIR = $(CURDIR)/docs/tutorial MARGIN_X=30 MARGIN_Y=206 @@ -15,6 +19,7 @@ all: @echo "Nothing to do per default, interesting targets:" @echo @echo " manual # import the (xhtml version of the) user manual" + @echo " tutorial # import the html version of the topology tutorial" @echo " library # import the scripts building the library" @echo " images # build images for the splash screen" @echo " papers # build the papers page from xml/papers.xml" @@ -30,6 +35,18 @@ manual-stamp: $(DOCS_SRC_DIR)/*.xml $(DOCS_SRC_DIR)/xsl/* $(MAKE) -C $(DOCS_SRC_DIR) install-html DESTDIR=$(DOCS_DEST_DIR)/ touch $@ +tutorial: tutorial-stamp +tutorial-stamp: $(TUTORIAL_SRC_DIR)/igft.html + rm -rf $(TUTORIAL_DEST_DIR)/* + test -d $(TUTORIAL_DEST_DIR)/ || mkdir -p $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/igft.html $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/igft.pdf $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/*.png $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/*.svg $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/*.css $(TUTORIAL_DEST_DIR)/ + cp $(TUTORIAL_SRC_DIR)/*.js $(TUTORIAL_DEST_DIR)/ + touch $@ + .PHONY: library library: if [ -d library/ ] ; then \