1 | # $Id$ |
---|
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 | |
---|
20 | DOCUTILSFLAGS = \ |
---|
21 | -i utf-8 \ |
---|
22 | -o utf-8 \ |
---|
23 | --language=en \ |
---|
24 | --file-insertion-enabled \ |
---|
25 | --no-generator \ |
---|
26 | --tab-width=4 |
---|
27 | RST2HTMLFLAGS = $(DOCUTILSFLAGS) \ |
---|
28 | --stylesheet=stylesheet.css \ |
---|
29 | --link-stylesheet |
---|
30 | RST2LATEXFLAGS = $(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 | |
---|
40 | readme.html: $(top_srcdir)/README |
---|
41 | $(RST2HTML) $(RST2HTMLFLAGS) $< $@ |
---|
42 | readme.tex: $(top_srcdir)/README |
---|
43 | $(RST2LATEX) $(RST2LATEXFLAGS) $< $@ |
---|
44 | .tex.pdf: |
---|
45 | pdflatex $< && pdflatex $< |
---|
46 | |
---|
47 | noinst_DATA = readme.html readme.pdf |
---|
48 | EXTRA_DIST = readme.html readme.tex readme.pdf |
---|
49 | |
---|
50 | clean-local: |
---|
51 | -rm -rf *.log *.aux *.toc *.out |
---|
52 | MAINTAINERCLEANFILES = readme.html readme.tex readme.pdf |
---|
53 | |
---|