summaryrefslogtreecommitdiff
path: root/bin/Makefile.am
blob: 9f6ee2bbeda67d24ca49146b6ef5e3c899fd956e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
EXTRA_DIST = geiser-racket.sh
dist_bin_SCRIPTS = geiser-racket
noinst_SCRIPTS = geiser-racket-noinst

CLEANFILES = $(dist_bin_SCRIPTS) $(noinst_SCRIPTS)

geiser-racket: $(srcdir)/geiser-racket.sh
	@sed -e "s|top=\".*\"|top=$(datarootdir)/geiser|" \
             $(srcdir)/geiser-racket.sh >$@
	@chmod +x $@

geiser-racket-noinst: $(srcdir)/geiser-racket.sh
	@sed -e "s|top=\".*\"|top=$(abs_top_srcdir)/scheme|" \
             $(srcdir)/geiser-racket.sh >$@
	@chmod +x $@