EXTRA_DIST = \
Doxyfile \
html \
man-molecuilder.xml \
userguide.xml
SRCMANDOCS =
GENMANDOCS = \
molecuilder.1 \
espack.conf.5
dist_man_MANS = $(SRCMANDOCS) $(GENMANDOCS)
dist_doc_DATA = $(PDFFILES)
SUFFIXES = .pdf .ps .dvi .tex .xml .html
html-local: doxygen-docs
doxygen-docs:
cd $(srcdir) && $(DOXYGEN)
.xml.ps:
$(XMLTO) $(XMLTOFLAGS) ps $<
@touch $@
.xml.html:
$(XMLTO) $(XMLTOFLAGS) html-nochunks $<
@touch $@
molecuilder.stamp: molecuilder.xml
@rm -f molecuilder.tmp
@touch molecuilder.tmp
$(XMLTO) $(XMLTOFLAGS) man $<
@touch $(GENMANDOCS)
@mv -f molecuilder.tmp $@
$(GENMANDOCS): molecuilder.stamp
@if test -f $@; then touch $@; else \
rm -f molecuilder.stamp; \
$(MAKE) $(AM_MAKEFLAGS) molecuilder.stamp; \
fi
clean-local:
rm -f *.aux *.bbl *.blg *.log *.aux.bak
distclean-local:
rm -f *.dvi *.ps *.pdf *.html $(GENMANDOCS) molecuilder.stamp
.PHONY: allclean doxygen-docs
allclean: distclean