Re: Patch to compile libgnomeui



On Tue, 2001-12-11 at 19:42, Ettore Perazzoli wrote:
> libgnomeui on CVS doesn't seem to compile from scratch for me without
> this patch.  OK to commit?

this patch makes no sense.  gnome-marshal-main.c is *not* a built
source.

does this patch work for you? (don't forget to make clean)

we really need some intltool-like rules for these stupid marshaller and
glib-genfoo rules, otherwise nobody will get any of this stuff right (so
far, nobody does).

jacob
-- 
"In fact, can you imagine anything more terrifying than a zombie clown?"
	-- moby
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/Makefile.am,v
retrieving revision 1.321
diff -u -r1.321 Makefile.am
--- Makefile.am	2001/12/12 00:46:03	1.321
+++ Makefile.am	2001/12/12 03:57:29
@@ -213,8 +213,8 @@
 
 gnome-marshal-main.c: $(srcdir)/gnome-marshal.c $(srcdir)/gnome-marshal.h
 
-BUILT_SOURCES =					\
-	gnome-marshal-main.c
+gnome-marshal.c gnome-marshal.h: # never add deps here
+	test -f "$(srcdir)/$@" || touch $(srcdir)/$@
 
 EXTRA_DIST =					\
 	AUTHORS					\


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