[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 | # Licensed under the Apache License, Version 2.0 (the "License"); |
---|
| 7 | # you may not use this file except in compliance with the License. |
---|
| 8 | # You may obtain a copy of the License at |
---|
| 9 | # |
---|
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 11 | # |
---|
| 12 | # Unless required by applicable law or agreed to in writing, software |
---|
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 15 | # See the License for the specific language governing permissions and |
---|
| 16 | # limitations under the License. |
---|
| 17 | # |
---|
| 18 | |
---|
| 19 | DOCUTILSFLAGS = \ |
---|
| 20 | -i utf-8 \ |
---|
| 21 | -o utf-8 \ |
---|
| 22 | --language=en \ |
---|
| 23 | --file-insertion-enabled \ |
---|
| 24 | --no-generator \ |
---|
| 25 | --tab-width=4 |
---|
| 26 | RST2HTMLFLAGS = $(DOCUTILSFLAGS) \ |
---|
| 27 | --stylesheet=stylesheet.css \ |
---|
| 28 | --link-stylesheet |
---|
| 29 | RST2LATEXFLAGS = $(DOCUTILSFLAGS) \ |
---|
| 30 | --documentclass=article \ |
---|
| 31 | --documentoptions=a4paper,10pt \ |
---|
| 32 | --font-encoding=OT4 \ |
---|
| 33 | --graphicx-option=pdftex \ |
---|
| 34 | --use-latex-footnotes \ |
---|
| 35 | --footnote-references=superscript \ |
---|
| 36 | --use-latex-citations \ |
---|
| 37 | --use-latex-toc |
---|
| 38 | |
---|
| 39 | readme.html: $(top_srcdir)/README |
---|
| 40 | $(RST2HTML) $(RST2HTMLFLAGS) $< $@ |
---|
| 41 | readme.tex: $(top_srcdir)/README |
---|
| 42 | $(RST2LATEX) $(RST2LATEXFLAGS) $< $@ |
---|
| 43 | .tex.pdf: |
---|
| 44 | pdflatex $< && pdflatex $< |
---|
| 45 | |
---|
| 46 | noinst_DATA = readme.html readme.pdf |
---|
| 47 | EXTRA_DIST = readme.html readme.tex readme.pdf |
---|
| 48 | |
---|
| 49 | clean-local: |
---|
| 50 | -rm -rf *.log *.aux *.toc *.out |
---|
| 51 | MAINTAINERCLEANFILES = readme.html readme.tex readme.pdf |
---|
| 52 | |
---|