]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 25 Nov 2008 19:15:53 +0000 (19:15 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 25 Nov 2008 19:15:53 +0000 (19:15 +0000)
helm/software/matita/help/C/Makefile

index b810489821280318e3638421f211c3b01a3acee4..817d6964ae2bb125cc21d8e472707e3ed4be88ec 100644 (file)
@@ -28,20 +28,22 @@ pdf-stamp: $(patsubst %.xml,%.pdf,$(MAIN))
        touch $@
 
 %.pdf: %.xml
-       dblatex -rscripts/fix-symbols.sh -tpdf $< || dblatex -tpdf $<
+       dblatex -rscripts/fix-symbols.sh -tpdf $< 
 %.dvi: %.xml
        dblatex -rscripts/fix-symbols.sh -tdvi $<
 %.ps: %.xml
        dblatex -rscripts/fix-symbols.sh -tps $<
 
-install: install-html
-install-html: html-stamp pdf-stamp
+install: install-html install-pdf
+install-pdf: pdf-stamp
+       mkdir -p $(DESTDIR)/pdf
+       cp matita.pdf $(DESTDIR)/pdf
+
+install-html: html-stamp 
        mkdir -p $(DESTDIR)/html
        cp *.html *.css $(DESTDIR)/html
        test -d $(DESTDIR)/html/figures || mkdir $(DESTDIR)/html/figures
        cp figures/* $(DESTDIR)/html/figures/
-       mkdir -p $(DESTDIR)/pdf
-       cp matita.pdf $(DESTDIR)/pdf
 
 clean:
        rm -f *.html *.pdf *.ps *.dvi *.tex