summaryrefslogtreecommitdiff
path: root/doc/user/Makefile.am
blob: 33d16ce1a2b53550ef92e8b99a632e5a4187cc68 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
BUILT_SOURCES = user.html

skribilo = $(top_srcdir)/src/guile/skribilo.scm
load_path = $(top_srcdir)/src/guile:$(top_srcdir)/src/guile/skribilo/package

%.html: %.skb
	GUILE_LOAD_PATH=$(load_path) \
	$(skribilo) --target html -I ../ -o $@ $<

if HAVE_LOUT

BUILT_SOURCES += user.ps

%.lout: %.skb
	GUILE_LOAD_PATH=$(load_path) \
	$(skribilo) --target lout -I ../ -o $@ $<

%.ps: %.lout
	$(LOUT) -c $(<:%.lout=%) -o $@ $<

endif