[PATCH] make make dist work without making first



this patch was required for me to be able to make dist without distcheck
or building initially.

i expect similar ones being needed for pango, atk, gtk, etc.

jacob
-- 
"It drains me, and it shakes me, and hurts like hell everytime I play
it, looking out at thousands of people cheering and smiling, oblivious
to the tragedy of it's meaning, like when you're going to have your
dog put down and it's wagging it's tail on the way there." - Thom Yorke
Index: gobject/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/gobject/Makefile.am,v
retrieving revision 1.40
diff -u -r1.40 Makefile.am
--- gobject/Makefile.am	2001/09/25 06:03:22	1.40
+++ gobject/Makefile.am	2001/10/01 22:28:54
@@ -14,6 +14,9 @@
 
 libglib = $(top_builddir)/glib/libglib-1.3.la
 
+$(libglib):
+	$(MAKE) -C $(top_builddir)/glib
+
 # libraries to compile and install
 lib_LTLIBRARIES = libgobject-1.3.la
 
Index: docs/reference/glib/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/docs/reference/glib/Makefile.am,v
retrieving revision 1.25
diff -u -r1.25 Makefile.am
--- docs/reference/glib/Makefile.am	2001/09/10 15:49:52	1.25
+++ docs/reference/glib/Makefile.am	2001/10/01 22:28:54
@@ -60,6 +60,7 @@
 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
 GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 
+dist-hook-local: all-local
 
 ####################################
 # Everything below here is generic #
Index: docs/reference/gobject/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/docs/reference/gobject/Makefile.am,v
retrieving revision 1.18
diff -u -r1.18 Makefile.am
--- docs/reference/gobject/Makefile.am	2001/09/08 18:23:03	1.18
+++ docs/reference/gobject/Makefile.am	2001/10/01 22:28:54
@@ -46,6 +46,7 @@
 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
 GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 
+dist-hook-local: all-local
 
 ####################################
 # Everything below here is generic #


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