aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ellinika/Makefile.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/ellinika/Makefile.am b/ellinika/Makefile.am
index d0a8ef4..cce4a3c 100644
--- a/ellinika/Makefile.am
+++ b/ellinika/Makefile.am
@@ -16,5 +16,18 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
guiledir=$(GUILE_SITE)/$(PACKAGE)
-guile_DATA=xlat.scm
+guile_DATA=xlat.scm cgi.scm
+cgi.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),' >> $@
+ echo 's,=AUTOGENERATED=,@AUTOGENERATED@,' >> $@
+
+cgi.scm: $(srcdir)/cgi.scmi cgi.sed
+ sed -f cgi.sed $(srcdir)/cgi.scmi > $@

Return to:

Send suggestions and report system problems to the System administrator.