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