diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-06-17 18:35:54 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-06-17 18:35:54 +0000 |
commit | d2ce7e645d27f63f4ffd1338208dc200d426a3e3 (patch) | |
tree | da2b57f87013de5bd384a606b9d7bab403729d0d /ellinika/Makefile.am | |
parent | 76446866d5fc6496d15bba9cff6dccdbf7dc3b25 (diff) | |
download | ellinika-d2ce7e645d27f63f4ffd1338208dc200d426a3e3.tar.gz ellinika-d2ce7e645d27f63f4ffd1338208dc200d426a3e3.tar.bz2 |
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')
-rw-r--r-- | ellinika/Makefile.am | 5 |
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/>. guiledir=$(GUILE_SITE)/$(PACKAGE) -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 |