source: trunk/doc/Makefile.am @ 1

Revision 1, 1.8 KB checked in by mmamonski, 11 years ago (diff)

Torque/PBS DRMAA initial commit

Line 
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
20docdir=$(datadir)/doc
21pkgdocdir=$(docdir)/@PACKAGE@-@VERSION@
22
23plaintext_doc = \
24 $(top_srcdir)/README \
25 $(top_srcdir)/AUTHORS \
26 $(top_srcdir)/COPYING
27generated_doc = \
28 readme.html \
29 readme.pdf \
30 stylesheet.css \
31 rst.css
32
33EXTRA_DIST = $(generated_doc) readme.tex
34pkgdoc_DATA = $(plaintext_doc) $(generated_doc)
35
36DOCUTILSFLAGS = \
37 -i utf-8 \
38 -o utf-8 \
39 --language=en \
40 --file-insertion-enabled \
41 --no-generator \
42 --tab-width=4
43RST2HTMLFLAGS = $(DOCUTILSFLAGS) \
44 --stylesheet=stylesheet.css \
45 --link-stylesheet
46RST2LATEXFLAGS = $(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
56readme.html: $(top_srcdir)/README
57        $(RST2HTML) $(RST2HTMLFLAGS) $< $@
58readme.tex: $(top_srcdir)/README
59        $(RST2LATEX) $(RST2LATEXFLAGS) $< $@
60.tex.pdf:
61        pdflatex $< && pdflatex $<
62
63clean-local:
64        -rm -rf *.log *.aux *.toc *.out
65
66MAINTAINERCLEANFILES = readme.html readme.tex readme.pdf drmaa.pdf
67
Note: See TracBrowser for help on using the repository browser.