aboutsummaryrefslogtreecommitdiff
path: root/doc/user/Makefile.am
blob: d6ab75f11f571bc08b2c938dde2808a856bfffb3 (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/skribilo
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