set BUILD_SOURCES and CLEANFILES properly
authorJohan Dahlin <johan@gnome.org>
Mon, 10 Dec 2007 01:02:59 +0000 (01:02 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Mon, 10 Dec 2007 01:02:59 +0000 (01:02 +0000)
2007-12-10  Johan Dahlin  <johan@gnome.org>

* src/Makefile.am:
set BUILD_SOURCES and CLEANFILES properly

svn path=/trunk/; revision=82

ChangeLog
src/Makefile.am

index 5df3128df6bc906357032525ad5fcb8aa131f1c1..8274414fa208f528b1d7459032d6cc2bb854b037 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2007-12-10  Johan Dahlin  <johan@gnome.org>
 
        * src/Makefile.am:
+       set BUILD_SOURCES and CLEANFILES properly
+
        * src/gidlwriter.c: (g_writer_write_inline), (g_writer_write),
        (g_writer_write_indent), (g_writer_write_unindent),
        (field_generate), (value_generate), (constant_generate),
index b1ca2ff0cb8718f80f5456ef362d05cba3edc90a..6baa7e62bc5eee31d45215800e00d1e14cdd1ed5 100644 (file)
@@ -1,9 +1,13 @@
 ## Process this file with automake to produce Makefile.in
 
 INCLUDES = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\""
-BUILT_SOURCES = cparser.h
+BUILT_SOURCES = cparser.c cparser.h clexer.c clexer.h
+CLEANFILES = cparser.c cparser.h clexer.c clexer.h
 AM_YFLAGS = -d
 
+# Why do I have to do this automake?
+clexer.h: clexer.c
+
 noinst_LTLIBRARIES = libgirepository-parser.la
 lib_LTLIBRARIES = libgirepository.la
 bin_PROGRAMS = g-idl-compiler g-idl-generate g-idl-scanner