aboutsummaryrefslogtreecommitdiff
path: root/doc/user/Makefile.am
blob: 49026d5f717a264e94810bc85febb2d3d0ebe39e (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):$$GUILE_LOAD_PATH \
	$(skribilo) --target html -I ../ -o $@ $<

if HAVE_LOUT

BUILT_SOURCES += user.ps

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

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

endif