patches for make dist on clean checkout (glib, pango, gtk+)



these patches seemed to have fallen through the cracks.

they make glib, pango, and gtk+ able to "make dist" without being
previously built (which is needed by my snapshots and generally not a
bad idea).

are there any problems with them left?

jacob
-- 
"Beat mixing is 10000 times more fun than even video games."
	-- bt
Index: glib/gobject/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/gobject/Makefile.am,v
retrieving revision 1.40
diff -u -r1.40 Makefile.am
--- glib/gobject/Makefile.am	2001/09/25 06:03:22	1.40
+++ glib/gobject/Makefile.am	2001/10/28 16:17:43
@@ -14,6 +14,14 @@
 
 libglib = $(top_builddir)/glib/libglib-1.3.la
 
+$(libglib): update-libglib
+	@true
+
+update-libglib:
+	@cd $(top_builddir)/glib && $(MAKE) $(AM_MAKEFLAGS)
+
+.PHONY: update-libglib
+
 # libraries to compile and install
 lib_LTLIBRARIES = libgobject-1.3.la
 
Index: glib/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
--- glib/docs/reference/glib/Makefile.am	2001/09/10 15:49:52	1.25
+++ glib/docs/reference/glib/Makefile.am	2001/10/28 16:17:43
@@ -179,7 +179,7 @@
 	@false
 endif
 
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc html-build.stamp dist-hook-local
 	mkdir $(distdir)/tmpl
 	mkdir $(distdir)/sgml
 	mkdir $(distdir)/html
Index: glib/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
--- glib/docs/reference/gobject/Makefile.am	2001/09/08 18:23:03	1.18
+++ glib/docs/reference/gobject/Makefile.am	2001/10/28 16:17:43
@@ -165,7 +165,7 @@
 	@false
 endif
 
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc html-build.stamp dist-hook-local
 	mkdir $(distdir)/tmpl
 	mkdir $(distdir)/sgml
 	mkdir $(distdir)/html
Index: pango/docs/Makefile.am
===================================================================
RCS file: /cvs/gnome/pango/docs/Makefile.am,v
retrieving revision 1.16
diff -u -r1.16 Makefile.am
--- pango/docs/Makefile.am	2001/08/12 14:34:27	1.16
+++ pango/docs/Makefile.am	2001/10/28 16:17:43
@@ -182,7 +182,7 @@
 	@false
 endif
 
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc html-build.stamp dist-hook-local
 	mkdir $(distdir)/tmpl
 	mkdir $(distdir)/sgml
 	mkdir $(distdir)/html
Index: gtk+/docs/reference/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- gtk+/docs/reference/Makefile.am	2001/06/21 17:44:26	1.8
+++ gtk+/docs/reference/Makefile.am	2001/10/28 16:17:43
@@ -2,3 +2,13 @@
 
 SUBDIRS = gdk-pixbuf gdk gtk
 
+libgtk = $(top_builddir)/gtk/@gtktargetlib@
+
+EXTRA_DIST = update-libgtk
+
+update-libgtk:
+	for dir in gdk-pixbuf gdk gtk; do \
+		$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/$$dir ; \
+	done
+
+.PHONY: update-libgtk
Index: gtk+/docs/reference/gdk-pixbuf/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gdk-pixbuf/Makefile.am,v
retrieving revision 1.33
diff -u -r1.33 Makefile.am
--- gtk+/docs/reference/gdk-pixbuf/Makefile.am	2001/10/08 21:25:32	1.33
+++ gtk+/docs/reference/gdk-pixbuf/Makefile.am	2001/10/28 16:17:43
@@ -186,7 +186,7 @@
 	@false
 endif
 
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc html-build.stamp dist-hook-local
 	mkdir $(distdir)/tmpl
 	mkdir $(distdir)/sgml
 	mkdir $(distdir)/html
Index: gtk+/docs/reference/gdk/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gdk/Makefile.am,v
retrieving revision 1.12
diff -u -r1.12 Makefile.am
--- gtk+/docs/reference/gdk/Makefile.am	2001/08/12 14:44:12	1.12
+++ gtk+/docs/reference/gdk/Makefile.am	2001/10/28 16:17:43
@@ -175,7 +175,7 @@
 	@false
 endif
 
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc html-build.stamp dist-hook-local
 	mkdir $(distdir)/tmpl
 	mkdir $(distdir)/sgml
 	mkdir $(distdir)/html


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