2 # should be a checked out version of sofware/matita/help/C/ (or a symlink to it)
3 DOCS_SRC_DIR = docs-src
4 DOCS_DEST_DIR = $(CURDIR)/docs/manual
15 @echo "Nothing to do per default, interesting targets:"
17 @echo " manual # import the (xhtml version of the) user manual"
18 @echo " images # build images for the splash screen"
19 @echo " papers # build the papers page from xml/papers.xml"
25 manual-stamp: $(DOCS_SRC_DIR)/*.xml $(DOCS_SRC_DIR)/xsl/*
26 $(MAKE) -C $(DOCS_SRC_DIR)/ html
27 rm -rf $(DOCS_DEST_DIR)/*
28 test -d $(DOCS_DEST_DIR)/ || mkdir -p $(DOCS_DEST_DIR)/
29 $(MAKE) -C $(DOCS_SRC_DIR) install DESTDIR=$(DOCS_DEST_DIR)/
33 papers.shtml: xsl/papers2xhtml.xsl xml/papers.xml
37 images: images/matita.xcf
38 for Y in `seq 0 $(SEQ)`; do \
39 convert images/matita.png -crop \
40 $(SIZE_X)x$(SIZE_Y)+$(MARGIN_X)+`expr $(MARGIN_Y) + $$Y '*' '(' $(SIZE_Y) + 1 ')'` tmp.png; \
41 composite -compose src-over images/bg.png tmp.png images/bg$$Y.png;\
48 for X in `seq 0 $(SEQ)`; do\