diff options
author | Ludovic Courtès | 2007-12-01 16:16:27 +0100 |
---|---|---|
committer | Ludovic Courtès | 2007-12-01 16:16:27 +0100 |
commit | 7e37e75f3c4fb757d63a5d1fe63dadb910a241c4 (patch) | |
tree | f6e92b4856a6642f410a6568fe4a140784860be3 /doc | |
parent | 4f3a6891468a7834d2d655871c9db445538a8f8c (diff) | |
download | skribilo-7e37e75f3c4fb757d63a5d1fe63dadb910a241c4.tar.gz skribilo-7e37e75f3c4fb757d63a5d1fe63dadb910a241c4.tar.lz skribilo-7e37e75f3c4fb757d63a5d1fe63dadb910a241c4.zip |
doc: Add support for `ps2pdf'.
* configure.ac: Look for `ps2pdf'.
* doc/user/Makefile.am (pdf_DATA): New.
(.ps.pdf): New rule.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index 3a83b20..d9d11bd 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -23,7 +23,11 @@ load_path = $(top_srcdir)/src/guile:$(top_srcdir)/src/guile/skribilo/package:$(t if HAVE_LOUT +if HAVE_PS2PDF +pdf_DATA = user.pdf +else ps_DATA = user.ps +endif .skb.lout: GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ @@ -34,6 +38,11 @@ ps_DATA = user.ps endif +if HAVE_PS2PDF +.ps.pdf: + $(PS2PDF) $(@:%.pdf=%.ps) +endif + if HAVE_PLOTICUS doc-config.scm: -echo "(define %have-ploticus? #t)" > $@ |