# # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SUBDIRS = Figs artsdocdir = $(pkgdatadir)/doc uguidedocdir = $(artsdocdir)/uguide uguidedoc_DATA = uguide.pdf artsexecutable = $(top_builddir)/src/arts # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # Don't forget to add new tex files to $(texfiles) # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! texfiles = \ agu.bst \ references.bib \ chapter_template.tex \ concept.tex \ fm_definitions.tex \ formalism.tex \ development.tex \ introduction.tex \ interpolation.tex \ integration.tex \ matrix_vector.tex \ formats.tex \ rte_theory.tex \ main.tex \ montecarlo.tex \ measerr.tex \ ppath.tex \ batch.tex \ polarization.tex \ reduction.tex \ rte.tex \ scattering.tex \ sensor.tex \ uguide.tex \ utilities.tex \ wfuns_atm.tex \ wfuns_sensor.tex \ app_wsv.tex autotexfiles = EXTRA_DIST = \ $(texfiles) \ $(autotexfiles) \ uguide.pdf if MAINTAINER_MODE # version.tex.in does not show up explicitly in EXTRA_DIST, since this is # distributed automatically. uguide.pdf: $(top_srcdir)/configure.in $(texfiles) $(autotexfiles) auto_version.tex pdflatex uguide makeindex uguide.idx bibtex uguide pdflatex uguide pdflatex uguide pdflatex uguide | tee make.log CLEANFILES = *.aux \ *.log \ make.log \ uguide.bbl \ uguide.blg \ uguide.idx \ uguide.ilg \ uguide.ind \ uguide.out \ uguide.pdf \ uguide.toc MAINTAINERCLEANFILES = \ $(autotexfiles) \ auto_version.tex else uguide.pdf: @echo @echo "==========================================================" @echo @echo "The documentation is only re-generated in maintainer mode." @echo "To activate maintainer mode call configure with the option" @echo "--enable-maintainer-mode" @echo @echo "==========================================================" @echo endif