]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/matita/Makefile
first generation of manual from docbook
[helm.git] / helm / www / matita / Makefile
index 72b216cb4de9f4c1a639db81d1b061b8fed1b97e..2cb06a5ab58a029fad964b95de37b0ee31f8264f 100644 (file)
@@ -17,12 +17,16 @@ all:
        @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 \
@@ -32,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