path: root/ellinika/Makefile.am
diff options
authorSergey Poznyakoff <gray@gnu.org.ua>2008-06-17 18:35:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-06-17 18:35:54 +0000
commitd2ce7e645d27f63f4ffd1338208dc200d426a3e3 (patch)
treeda2b57f87013de5bd384a606b9d7bab403729d0d /ellinika/Makefile.am
parent76446866d5fc6496d15bba9cff6dccdbf7dc3b25 (diff)
Rewrite dico-ellinika as a module.
* ellinika/cgi.scm4: Use (ellinika config) and re-export its public symbols. (base-dir, html-dir, sysconf-dir, locale-path, sql-iface) (sql-host, sql-port, sql-database, sql-username, sql-password) (config-file-name): Remove. Symbols defined in config.scm (ellinika-cgi-init): Call ellinika-config-setup. * ellinika/Makefile.am (guile_DATA): Add config.scm. (config.scm): New rule. * ellinika/config.scm4: New file. * cgi-bin/dico-ellinika.scm4: Rewrite as a module. Use (ellinika config), instead of cgi. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@517 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'ellinika/Makefile.am')
1 files changed, 3 insertions, 2 deletions
diff --git a/ellinika/Makefile.am b/ellinika/Makefile.am
index 85ead0c..248666d 100644
--- a/ellinika/Makefile.am
+++ b/ellinika/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Ellinika project.
-# Copyright (C) 2004,2006,2007 Sergey Poznyakoff
+# Copyright (C) 2004,2006,2007,2008 Sergey Poznyakoff
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-guile_DATA=xlat.scm cgi.scm i18n.scm
+guile_DATA=xlat.scm cgi.scm i18n.scm config.scm
cgi.m4: Makefile
echo 'divert(-1)' > $@
@@ -40,3 +40,4 @@ SUFFIXES = .scm4 .scm
m4 cgi.m4 $< > $@
cgi.scm: cgi.scm4 cgi.m4
+config.scm: config.scm4 cgi.m4 \ No newline at end of file

Return to:

Send suggestions and report system problems to the System administrator.