summaryrefslogtreecommitdiff
path: root/doc/user/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès2008-04-21 22:58:53 +0200
committerLudovic Courtès2008-04-21 22:58:53 +0200
commit93b5f21b4a524fc07ea60f20ec363a6c5cfbcdf7 (patch)
tree41b3a4daf364d0412fe35bcdd9af14e6e2e62f01 /doc/user/Makefile.am
parentaaa3cace2f265ed1b0f417bbb12d7752f3d10a74 (diff)
downloadskribilo-93b5f21b4a524fc07ea60f20ec363a6c5cfbcdf7.tar.gz
skribilo-93b5f21b4a524fc07ea60f20ec363a6c5cfbcdf7.tar.lz
skribilo-93b5f21b4a524fc07ea60f20ec363a6c5cfbcdf7.zip
Allow builds of the user manual with LaTeX and ConTeXt.
* doc/modules/skribilo/documentation/api.scm (doc-engine): Fix `skribe-warning' invocation. * doc/user/Makefile.am (.skb.lout): Move out of `if HAVE_LOUT'. (.skb.tex, .skb.ctx): New targets.
Diffstat (limited to 'doc/user/Makefile.am')
-rw-r--r--doc/user/Makefile.am16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am
index 201a116..f1f44a3 100644
--- a/doc/user/Makefile.am
+++ b/doc/user/Makefile.am
@@ -65,10 +65,6 @@ ps_DATA = user.ps
CLEANFILES += $(ps_DATA)
endif !HAVE_PS2PDF
-.skb.lout:
- GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
- $(skribilo) $(skrflags) --target=lout -o $@ $<
-
.lout.ps:
$(LOUT) -r4 -I$(srcdir)/lout -I$(builddir)/lout \
-c $(@:%.ps=%) -o $@ $<
@@ -88,6 +84,18 @@ if HAVE_PS2PDF
$(PS2PDF) -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress $(@:%.pdf=%.ps)
endif
+.skb.lout:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=lout -o $@ $<
+
+.skb.tex:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=latex -o $@ $<
+
+.skb.ctx:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=context -o $@ $<
+
# Install/uninstall files not listed in `html_DATA'.
install-data-hook: