X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Fmatita%2FMakefile;h=2cb06a5ab58a029fad964b95de37b0ee31f8264f;hb=5b99087bf1b8b8fb1086a72feb6f3fb258a402d8;hp=92149d1125cd90500b762a99b919ba13045797ee;hpb=d62d1b28015b18a515bdf81e2a8f658d158fae5a;p=helm.git diff --git a/helm/www/matita/Makefile b/helm/www/matita/Makefile index 92149d112..2cb06a5ab 100644 --- a/helm/www/matita/Makefile +++ b/helm/www/matita/Makefile @@ -1,4 +1,7 @@ +DOCS_SRC_DIR = docs-src +DOCS_DEST_DIR = docs/manual + MARGIN_X=30 MARGIN_Y=206 SIZE_X=426 @@ -7,7 +10,23 @@ SIZE_Y=70 SEQ=3 all: + @echo + @echo "Nothing to do per default, interesting targets:" + @echo + @echo " manual # import the (xhtml version of the) user manual" + @echo " images # build images for the splash screen" + @echo + +clean: + +manual: manual-stamp +manual-stamp: $(DOCS_SRC_DIR)/*.xml + $(MAKE) -C $(DOCS_SRC_DIR)/ html + test -d $(DOCS_DEST_DIR)/ || mkdir -p $(DOCS_SRC_DIR)/ + cp $(DOCS_SRC_DIR)/*.html $(DOCS_DEST_DIR)/ + touch $@ +.PHONY: images images: images/matita.xcf for Y in `seq 0 $(SEQ)`; do \ convert images/matita.png -crop \ @@ -17,6 +36,8 @@ images: images/matita.xcf rm tmp.png clean: + rm -f manual-stamp +dist-clean: clean for X in `seq 0 $(SEQ)`; do\ rm images/bg$$X.png;\ done