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

--- src/Makefile.in.orig	2003-08-04 22:25:32.000000000 -0400
+++ src/Makefile.in
@@ -497,10 +497,10 @@ uninstall-info: uninstall-info-recursive
 # $(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 ';' >> $@
 
 .c.x:
 	./xguile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \