Compile fix for libgnomeui
- From: Peter Williams <peter newton cx>
- To: martin suse de
- Cc: gnome-2-0-list gnome org
- Subject: Compile fix for libgnomeui
- Date: 21 Jun 2001 12:39:35 -0400
Hi everyone,
Another patch for when srcdir != builddir. May I commit?
--
Peter Williams peter newton cx / peterw ximian com
"Why should I have to change my name? He's the one who
sucks!" -- Michael Bolton
? srcdir-builddir.diff
Index: libgnomeui/ChangeLog
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/ChangeLog,v
retrieving revision 1.1596
diff -u -r1.1596 ChangeLog
--- libgnomeui/ChangeLog 2001/06/19 05:38:25 1.1596
+++ libgnomeui/ChangeLog 2001/06/21 16:40:38
@@ -1,3 +1,8 @@
+2001-06-21 Peter Williams <peterw ximian com>
+
+ * Makefile.am ($(srcdir)/gnome.defs): Add $(srcdir)/
+ to these targets for when srcdir != builddir.
+
2001-06-19 Cody Russell <bratsche gnome org>
* gnome-animator.[ch]: Removed.
Index: libgnomeui/Makefile.am
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/Makefile.am,v
retrieving revision 1.274
diff -u -r1.274 Makefile.am
--- libgnomeui/Makefile.am 2001/06/19 05:38:25 1.274
+++ libgnomeui/Makefile.am 2001/06/21 16:40:38
@@ -145,32 +145,32 @@
gnometypebuiltins_vars.c
# generate gnome.defs file from gnome-boxed.defs and *.h
-gnome.defs: $(GNOME_MAKEENUMS) gnome-boxed.defs $(gnome_headers)
+$(srcdir)/gnome.defs: $(GNOME_MAKEENUMS) gnome-boxed.defs $(gnome_headers)
cd $(srcdir) \
&& $(GNOME_MAKEENUMS) defs $(gnome_headers) > gd.tmp \
&& cat gnome-boxed.defs >> gd.tmp \
&& mv gd.tmp gnome.defs
# generate type identifier header (GTK_TYPE_WIDGET_FLAGS)
-gnometypebuiltins.h: gnome.defs $(GNOME_MAKETYPES)
+$(srcdir)/gnometypebuiltins.h: $(srcdir)/gnome.defs $(GNOME_MAKETYPES)
cd $(srcdir) \
&& LC_COLLATE=C $(GNOME_MAKETYPES) gnome.defs macros > gtb.tmp \
&& mv gtb.tmp gnometypebuiltins.h
# generate type identifier variables (GTK_TYPE_WIDGET_FLAGS)
-gnometypebuiltins_vars.c: gnome.defs $(GNOME_MAKETYPES)
+$(srcdir)/gnometypebuiltins_vars.c: $(srcdir)/gnome.defs $(GNOME_MAKETYPES)
cd $(srcdir) \
&& LC_COLLATE=C $(GNOME_MAKETYPES) gnome.defs variables > gtbv.tmp \
&& mv gtbv.tmp gnometypebuiltins_vars.c
# generate type entries for type-id registration
-gnometypebuiltins_ids.c: gnome.defs $(GNOME_MAKETYPES)
+$(srcdir)/gnometypebuiltins_ids.c: $(srcdir)/gnome.defs $(GNOME_MAKETYPES)
cd $(srcdir) \
&& LC_COLLATE=C $(GNOME_MAKETYPES) gnome.defs entries > gtbi.tmp \
&& mv gtbi.tmp gnometypebuiltins_ids.c
# generate enum value arrays
-gnometypebuiltins_evals.c: $(GNOME_MAKEENUMS) gnome.defs
+$(srcdir)/gnometypebuiltins_evals.c: $(GNOME_MAKEENUMS) $(srcdir)/gnome.defs
cd $(srcdir) \
&& $(GNOME_MAKEENUMS) arrays $(gnome_headers) > gtbe.tmp \
&& mv gtbe.tmp gnometypebuiltins_evals.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]