Set GPATH to fix srcdir != builddir problems with GNU make.
authorOwen Taylor <otaylor@redhat.com>
Sun, 12 Aug 2001 14:04:13 +0000 (14:04 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 12 Aug 2001 14:04:13 +0000 (14:04 +0000)
Sun Aug 12 10:03:42 2001  Owen Taylor  <otaylor@redhat.com>

* */Makefile.am: Set GPATH to fix srcdir != builddir
        problems with GNU make.

docs/reference/ChangeLog
docs/reference/glib/Makefile.am
docs/reference/gobject/Makefile.am

index 0028c27..a98fe0a 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug 12 10:03:42 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * */Makefile.am: Set GPATH to fix srcdir != builddir  
+       problems with GNU make.
+
 Sun Aug 12 02:24:36 2001  Tim Janik  <timj@gtk.org>
 
        * gobject/tmpl/value_arrays.sgml: document value arrays.
index 40cc16c..3dba975 100644 (file)
@@ -63,6 +63,13 @@ GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 # Everything below here is generic #
 ####################################
 
+# We set GPATH here; this gives us semantics for GNU make
+# which are more like other make's VPATH, when it comes to
+# whether a source that is a target of one rule is then
+# searched for in VPATH/GPATH.
+#
+GPATH = $(srcdir)
+
 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
 
 EXTRA_DIST =                           \
index c66b4ca..ccfe5af 100644 (file)
@@ -52,6 +52,13 @@ GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 # Everything below here is generic #
 ####################################
 
+# We set GPATH here; this gives us semantics for GNU make
+# which are more like other make's VPATH, when it comes to
+# whether a source that is a target of one rule is then
+# searched for in VPATH/GPATH.
+#
+GPATH = $(srcdir)
+
 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
 
 EXTRA_DIST =                           \