[gnome-db] [PATCH] libsql/Makefile.am



Hi,

This is a trivial patch to enable building out of the source tree.

Regards,

Bob Ham

-- 
Bob Ham <rah bash sh>
? libsql-Makefile.am-srcdir.diff
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libgda/libsql/Makefile.am,v
retrieving revision 1.19
diff -u -r1.19 Makefile.am
--- Makefile.am	27 May 2005 10:15:09 -0000	1.19
+++ Makefile.am	27 Oct 2005 19:55:55 -0000
@@ -5,11 +5,11 @@
 	-I$(top_builddir) \
 	$(LIBGDA_CFLAGS)
 
-parser.c: parser.y
-	$(YACC) -v -d -o parser.c -p sql parser.y
+parser.c: $(top_srcdir)/libsql/parser.y
+	$(YACC) -v -d -o parser.c -p sql $<
 
-lexer.c: lexer.l parser.c
-	$(LEX) -olexer.c -Psql lexer.l
+lexer.c: $(top_srcdir)/libsql/lexer.l parser.c
+	$(LEX) -olexer.c -Psql $<
 
 noinst_PROGRAMS = sql_parser_test
 lib_LTLIBRARIES = libgdasql.la

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]