summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès2007-12-11 20:43:29 +0100
committerLudovic Courtès2007-12-11 20:43:29 +0100
commit95f630272515f9d24c2cdbe68d07db9198c9edf0 (patch)
tree9c54eb5248edaf6b5501d449205bbf0372000459 /doc
parent766a1b47bee6ad83f89b1e97bf1380e2510233eb (diff)
downloadskribilo-95f630272515f9d24c2cdbe68d07db9198c9edf0.tar.gz
skribilo-95f630272515f9d24c2cdbe68d07db9198c9edf0.tar.lz
skribilo-95f630272515f9d24c2cdbe68d07db9198c9edf0.zip
Overhaul `(skribilo)' using SRFI-37.
* README: Update dependency description. * configure.ac: Check for SRFI-37. * doc/user/Makefile.am (skrflags): Add the relevant `-S' flag, now that `%load-path' is no longer part of `*source-path*' by default. (.skb.html, .skb.lout): Add an `=' sign after `--target'. * src/guile/skribilo.scm: Overhauled. Use SRFI-37 for command-line argument parsing. Remove legacy (unused) code.
Diffstat (limited to 'doc')
-rw-r--r--doc/user/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am
index 3bf19b1..da3caf4 100644
--- a/doc/user/Makefile.am
+++ b/doc/user/Makefile.am
@@ -27,13 +27,13 @@ html_DATA = user.html
CLEANFILES = $(BUILT_SOURCES) $(html_DATA)
skribilo = $(top_builddir)/src/pre-inst-skribilo
-skrflags = -I ../ -P ../img --compat=skribe
+skrflags = -I ../ -P ../img -S $(top_srcdir)/src/guile --compat=skribe
load_path = $(top_srcdir)/src/guile:$(top_srcdir)/src/guile/skribilo/package:$(top_builddir)/src/guile:$(top_srcdir)/doc/modules
.skb.html:
GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
- $(skribilo) $(skrflags) --target html -o $@ $<
+ $(skribilo) $(skrflags) --target=html -o $@ $<
if HAVE_LOUT
@@ -49,7 +49,7 @@ endif
.skb.lout:
GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
- $(skribilo) $(skrflags) --target lout -o $@ $<
+ $(skribilo) $(skrflags) --target=lout -o $@ $<
.lout.ps:
$(LOUT) -r4 -I$(srcdir)/lout -c $(@:%.ps=%) -o $@ $<