summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile.am
blob: 924c2d190af3a443360c2f2394ced1d2deab143a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
moddir=$(prefix)/share/guile/site

SOURCES =					\
	tekuti/base64.scm			\
	tekuti/boot.scm				\
	tekuti/cache.scm			\
	tekuti/comment.scm			\
	tekuti/config.scm			\
	tekuti/filters.scm			\
	tekuti/git.scm				\
	tekuti/index.scm			\
	tekuti/match-bind.scm			\
	tekuti/mod-lisp.scm			\
	tekuti/page-helpers.scm			\
	tekuti/page.scm				\
	tekuti/post.scm				\
	tekuti/request.scm			\
	tekuti/tags.scm				\
	tekuti/template.scm			\
	tekuti/util.scm				\
	tekuti/projects.scm         \
	tekuti/web.scm

GOBJECTS = $(SOURCES:%.scm=%.go)

nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) $(GOBJECTS)
EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)

CLEANFILES = $(GOBJECTS)

GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
SUFFIXES = .scm .go
.scm.go:
	$(top_builddir)/env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"