## Process this file with automake to produce Makefile.in if USE_GMAKE MAKE = gmake endif TEX = latex doc_srcdir = $(top_srcdir)/doc doc_builddir = $(top_builddir)/doc doc_installdir = $(prefix)/doc/@PACKAGE@ DOC_POSTSCRIPT = Units.ps Units.pdf DOC_INCLUDES = html.sty SUFFIXES = .ps .pdf .dvi .tex .dvi.ps: dvips -o $@ $(@:.ps=.dvi) .dvi.pdf: dvipdf $(@:.pdf=.dvi) all: docs docs: get-includes $(DOC_POSTSCRIPT) get-includes: list='$(DOC_INCLUDES)'; for file in $$list; do \ if test ! -f $$file; then \ (cp $(srcdir)/$$file $(doc_builddir)/$$file); fi; done install-docs: $(mkinstalldirs) $(DESTDIR)$(doc_installdir) $(INSTALL_DATA) $(doc_builddir)/Units.ps $(DESTDIR)$(doc_installdir)/Units.ps $(INSTALL_DATA) $(doc_builddir)/Units.pdf $(DESTDIR)$(doc_installdir)/Units.pdf # Identify generated file(s) to be removed when 'make clean' is requested: CLEANFILES = $(DOC_POSTSCRIPT) *.aux *.log *.toc *.dvi