[1] | 1 | # $Id: Makefile.am 2623 2009-08-05 12:05:49Z mmamonski $ |
---|
| 2 | # |
---|
| 3 | # FedStage DRMAA for PBS Pro |
---|
| 4 | # Copyright (C) 2006-2009 FedStage Systems |
---|
| 5 | # |
---|
| 6 | # This program is free software: you can redistribute it and/or modify |
---|
| 7 | # it under the terms of the GNU General Public License as published by |
---|
| 8 | # the Free Software Foundation, either version 3 of the License, or |
---|
| 9 | # (at your option) any later version. |
---|
| 10 | # |
---|
| 11 | # This program is distributed in the hope that it will be useful, |
---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | # GNU General Public License for more details. |
---|
| 15 | # |
---|
| 16 | # You should have received a copy of the GNU General Public License |
---|
| 17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
| 18 | # |
---|
| 19 | |
---|
| 20 | docdir=$(datadir)/doc |
---|
| 21 | pkgdocdir=$(docdir)/@PACKAGE@-@VERSION@ |
---|
| 22 | |
---|
| 23 | plaintext_doc = \ |
---|
| 24 | $(top_srcdir)/README \ |
---|
| 25 | $(top_srcdir)/AUTHORS \ |
---|
| 26 | $(top_srcdir)/COPYING |
---|
| 27 | generated_doc = \ |
---|
| 28 | readme.html \ |
---|
| 29 | readme.pdf \ |
---|
| 30 | stylesheet.css \ |
---|
| 31 | rst.css |
---|
| 32 | |
---|
| 33 | EXTRA_DIST = $(generated_doc) readme.tex |
---|
| 34 | pkgdoc_DATA = $(plaintext_doc) $(generated_doc) |
---|
| 35 | |
---|
| 36 | DOCUTILSFLAGS = \ |
---|
| 37 | -i utf-8 \ |
---|
| 38 | -o utf-8 \ |
---|
| 39 | --language=en \ |
---|
| 40 | --file-insertion-enabled \ |
---|
| 41 | --no-generator \ |
---|
| 42 | --tab-width=4 |
---|
| 43 | RST2HTMLFLAGS = $(DOCUTILSFLAGS) \ |
---|
| 44 | --stylesheet=stylesheet.css \ |
---|
| 45 | --link-stylesheet |
---|
| 46 | RST2LATEXFLAGS = $(DOCUTILSFLAGS) \ |
---|
| 47 | --documentclass=article \ |
---|
| 48 | --documentoptions=a4paper,10pt \ |
---|
| 49 | --font-encoding=OT4 \ |
---|
| 50 | --graphicx-option=pdftex \ |
---|
| 51 | --use-latex-footnotes \ |
---|
| 52 | --footnote-references=superscript \ |
---|
| 53 | --use-latex-citations \ |
---|
| 54 | --use-latex-toc |
---|
| 55 | |
---|
| 56 | readme.html: $(top_srcdir)/README |
---|
| 57 | $(RST2HTML) $(RST2HTMLFLAGS) $< $@ |
---|
| 58 | readme.tex: $(top_srcdir)/README |
---|
| 59 | $(RST2LATEX) $(RST2LATEXFLAGS) $< $@ |
---|
| 60 | .tex.pdf: |
---|
| 61 | pdflatex $< && pdflatex $< |
---|
| 62 | |
---|
| 63 | clean-local: |
---|
| 64 | -rm -rf *.log *.aux *.toc *.out |
---|
| 65 | |
---|
| 66 | MAINTAINERCLEANFILES = readme.html readme.tex readme.pdf drmaa.pdf |
---|
| 67 | |
---|