aboutsummaryrefslogtreecommitdiff
path: root/cgi-bin/Makefile.am
blob: ab4e24c113ace208b81da5acacfa4f73e5cb7b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cgidir=@CGIDIR@
cgi_SCRIPTS=dict.cgi
EXTRA_DIST=dict.cgi.in 
CLEANFILES=dict.sed dict.cgi

dict.sed: Makefile
	echo 's,=GUILE_BINDIR=,$(GUILE_BINDIR),' > $@
	echo 's,=GUILE_SITE=,@GUILE_SITE@,' >> $@
	echo "s,\;=GUILE_COMMENT=\;,@GUILE_COMMENT@," >> $@
	echo 's,=PACKAGE=,$(PACKAGE),'>> $@
	echo 's,=PREFIX=,$(prefix),' >> $@
	echo 's,=SYSCONFDIR=,$(sysconfdir),' >> $@
	echo 's,=LOCALEDIR=,$(datadir)/locale,' >> $@
	echo 's,=HTMLDIR=,$(HTMLDIR),' >> $@

dict.cgi: $(srcdir)/dict.cgi.in dict.sed
	sed -f dict.sed $(srcdir)/dict.cgi.in > $@ 

Return to:

Send suggestions and report system problems to the System administrator.