From d2ce7e645d27f63f4ffd1338208dc200d426a3e3 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 17 Jun 2008 18:35:54 +0000 Subject: 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 --- ellinika/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ellinika/Makefile.am') 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 . 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 -- cgit v1.2.1