source: trunk/doc/Makefile.am @ 1

Revision 1, 1.6 KB checked in by mmatloka, 14 years ago (diff)

init commit

RevLine 
[1]1# $Id: Makefile.am 92 2010-04-08 15:40:49Z mamonski $
2#
3# PSNC DRMAA for LoadLeveler
4# Copyright (C) 2010 Poznan Supercomputing and Networking Center
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
20DOCUTILSFLAGS = \
21 -i utf-8 \
22 -o utf-8 \
23 --language=en \
24 --file-insertion-enabled \
25 --no-generator \
26 --tab-width=4
27RST2HTMLFLAGS = $(DOCUTILSFLAGS) \
28 --stylesheet=stylesheet.css \
29 --link-stylesheet
30RST2LATEXFLAGS = $(DOCUTILSFLAGS) \
31 --documentclass=article \
32 --documentoptions=a4paper,10pt \
33 --font-encoding=OT4 \
34 --graphicx-option=pdftex \
35 --use-latex-footnotes \
36 --footnote-references=superscript \
37 --use-latex-citations \
38 --use-latex-toc
39
40readme.html: $(top_srcdir)/README
41        $(RST2HTML) $(RST2HTMLFLAGS) $< $@
42readme.tex: $(top_srcdir)/README
43        $(RST2LATEX) $(RST2LATEXFLAGS) $< $@
44.tex.pdf:
45        pdflatex $< && pdflatex $<
46
47noinst_DATA = readme.html readme.pdf
48EXTRA_DIST = readme.html readme.tex readme.pdf
49
50clean-local:
51        -rm -rf *.log *.aux *.toc *.out
52MAINTAINERCLEANFILES = readme.html readme.tex readme.pdf
53
Note: See TracBrowser for help on using the repository browser.