diff options
author | Ludovic Courtès | 2008-02-01 18:41:46 +0100 |
---|---|---|
committer | Ludovic Courtès | 2008-02-01 18:41:46 +0100 |
commit | 9370de4fcf573790e46e53b2b7aa4834f999ddb0 (patch) | |
tree | 8a4161b0b82ee79251306b925a458080ecb2c543 /doc/user/Makefile.am | |
parent | 654ba1f34b7661a81b0ce720040f17591f79b552 (diff) | |
download | skribilo-9370de4fcf573790e46e53b2b7aa4834f999ddb0.tar.gz skribilo-9370de4fcf573790e46e53b2b7aa4834f999ddb0.tar.lz skribilo-9370de4fcf573790e46e53b2b7aa4834f999ddb0.zip |
doc: Add nice(r) front-page in Lout.
* doc/modules/skribilo/documentation/manual.scm: Set the `on-title-page'
custom.
* doc/user/Makefile.am (EXTRA_DIST): Add `lout/front-page.lout.in'.
(BUILT_SOURCES): Add `lout/front-page.lout'.
(.lout.ps): Update `-I'.
(lout/front-page.lout): New target.
(clean-local): Remove the `lout' directory.
* doc/user/lout/book-style.lout (@ChapterStartPages): Set to `Odd'.
Diffstat (limited to 'doc/user/Makefile.am')
-rw-r--r-- | doc/user/Makefile.am | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index 4020dc7..04d6324 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -6,7 +6,7 @@ EXTRA_DIST = bib.skb char.skb colframe.skb document.skb emacs.skb \ markup.skb ornament.skb package.skb pie.skb prgm.skb sectioning.skb \ skribilo-config.skb compiler.skb skribeinfo.skb slide.skb spacing.skb \ start.skb syntax.skb table.skb toc.skb user.skb xmle.skb \ - lout/book-style.lout + lout/book-style.lout lout/front-page.lout.in # Examples. EXTRA_DIST += src/api1.skb \ @@ -26,6 +26,7 @@ EXTRA_DIST += src/api1.skb \ html_DATA = user.html dist_html_DATA = skribilo.css +BUILT_SOURCES = lout/front-page.lout CLEANFILES = $(BUILT_SOURCES) $(html_DATA) skribilo = $(top_builddir)/src/pre-inst-skribilo @@ -61,19 +62,28 @@ CLEANFILES += user.lout user.lout.ld user.li user.lix if HAVE_PS2PDF pdf_DATA = user.pdf CLEANFILES += $(pdf_DATA) -else +else !HAVE_PS2PDF ps_DATA = user.ps CLEANFILES += $(ps_DATA) -endif +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 -c $(@:%.ps=%) -o $@ $< + $(LOUT) -r4 -I$(srcdir)/lout -I$(builddir)/lout \ + -c $(@:%.ps=%) -o $@ $< -endif +# Variable substitution. +include $(top_srcdir)/substitute.am + +lout/front-page.lout: lout/front-page.lout.in + test -d "lout" || mkdir "lout" + $(substitute) "$^" > "$@.tmp" && \ + mv "$@.tmp" "$@" + +endif HAVE_LOUT if HAVE_PS2PDF .ps.pdf: @@ -94,3 +104,4 @@ uninstall-local: # not listed in `CLEANFILES'. clean-local: -rm -f user-*.html *.eps *.png + -rm -rf "lout" |