X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Fmatita%2FMakefile;h=4e33738d80d80f1d42793623b95554806d7441e3;hb=8734cd629496be7c2b111f2365b6e27d772aa426;hp=e61f930ca0d024ba5dfcc8e8abaf3ab35672488e;hpb=c50d613d8e878dc170f50020811630368c49eb97;p=helm.git diff --git a/helm/www/matita/Makefile b/helm/www/matita/Makefile index e61f930ca..4e33738d8 100644 --- a/helm/www/matita/Makefile +++ b/helm/www/matita/Makefile @@ -15,6 +15,7 @@ all: @echo "Nothing to do per default, interesting targets:" @echo @echo " manual # import the (xhtml version of the) user manual" + @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" @echo @@ -22,13 +23,22 @@ all: clean: manual: manual-stamp -manual-stamp: $(DOCS_SRC_DIR)/*.xml $(DOCS_SRC_DIR)/*.xsl +manual-stamp: $(DOCS_SRC_DIR)/*.xml $(DOCS_SRC_DIR)/xsl/* $(MAKE) -C $(DOCS_SRC_DIR)/ html rm -rf $(DOCS_DEST_DIR)/* test -d $(DOCS_DEST_DIR)/ || mkdir -p $(DOCS_DEST_DIR)/ - $(MAKE) -C $(DOCS_SRC_DIR) install DESTDIR=$(DOCS_DEST_DIR)/ + $(MAKE) -C $(DOCS_SRC_DIR) install-html DESTDIR=$(DOCS_DEST_DIR)/ touch $@ +.PHONY: library +library: + if [ -d library/ ] ; then \ + svn update library/ ; \ + else \ + echo "Can't find the scripts, check them out in library/" ; \ + exit 1 ; \ + fi + papers: papers.shtml papers.shtml: xsl/papers2xhtml.xsl xml/papers.xml xsltproc $^ > $@