aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-10-12 13:25:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-10-12 13:25:56 +0000
commit13ad97ca3dbbc87c220ad88b2055bb3062a38b8f (patch)
treead241ab57b346e4ee1c4e2c16466ed20f27de66c
parent15e46b61b28153cccc4d90882709967c69955e5b (diff)
downloadellinika-13ad97ca3dbbc87c220ad88b2055bb3062a38b8f.tar.gz
ellinika-13ad97ca3dbbc87c220ad88b2055bb3062a38b8f.tar.bz2
Fixed paths
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@223 941c8c0f-9102-463b-b60b-cd22ce0e6858
-rw-r--r--cgi-bin/Makefile.am5
-rw-r--r--cgi-bin/dict.cgi.in4
2 files changed, 5 insertions, 4 deletions
diff --git a/cgi-bin/Makefile.am b/cgi-bin/Makefile.am
index 1a65fb7..ab4e24c 100644
--- a/cgi-bin/Makefile.am
+++ b/cgi-bin/Makefile.am
@@ -1,4 +1,3 @@
-pkgmoddir=@GUILE_SITE@
cgidir=@CGIDIR@
cgi_SCRIPTS=dict.cgi
EXTRA_DIST=dict.cgi.in
@@ -6,13 +5,13 @@ 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),' >> $@
- s=`echo $(pkgmoddir) | sed 's,\(.*\)/.*,\1,'` ; \
- echo "s,\;=UPDPATH=,@UPDPATH@," >> $@
dict.cgi: $(srcdir)/dict.cgi.in dict.sed
sed -f dict.sed $(srcdir)/dict.cgi.in > $@
diff --git a/cgi-bin/dict.cgi.in b/cgi-bin/dict.cgi.in
index 48b4a7c..2c51e73 100644
--- a/cgi-bin/dict.cgi.in
+++ b/cgi-bin/dict.cgi.in
@@ -17,7 +17,9 @@
;;;; along with this program; if not, write to the Free Software
;;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
;;;;
-;=UPDPATH=
+
+;;; Tailor this statement to your needs if necessary.
+;=GUILE_COMMENT=;(set! %load-path (cons "=GUILE_SITE=" %load-path))
(use-modules (www cgi)
(gamma sql)

Return to:

Send suggestions and report system problems to the System administrator.