summaryrefslogtreecommitdiff
path: root/cad/gwave/patches/patch-aj
blob: fb8bdf240941717be811cd8abd1338d1da0604f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aj,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $

--- src/Makefile.am.orig	2003-08-02 03:24:45.000000000 -0400
+++ src/Makefile.am
@@ -32,10 +32,10 @@ BUILT_SOURCES=init_scheme_string.c scm_i
 # $(DOT_DOC_FILES)
 
 init_scheme_string.c: $(top_srcdir)/scheme/minimal.scm
-	echo "char *init_scheme_string = \"\\" > $@
-	sed -e 's/;.*$$//g' -e 's/"/\\"/g' -e "s/'/\\\\'/g" -e 's/$$/\\n\\/' < $(top_srcdir)/scheme/minimal.scm >> $@
+	echo "char *init_scheme_string = " > $@
+	sed -e 's/;.*$$//g' -e 's/"/\\"/g' -e "s/'/\\\\'/g" -e 's/$$/\\n"/' -e 's/^/"/g' < $(top_srcdir)/scheme/minimal.scm >> $@
 	echo >> $@
-	echo '";' >> $@
+	echo ';' >> $@
 
 SUFFIXES = .x .doc