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

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

ChangeLog
docs/Makefile.am

index d51b2cb..0d1390e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Aug 12 10:33:02 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * docs/Makefile.am: Set GPATH to fix srcdir != builddir problems
+       with GNU make.
+
 2001-08-09  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * atk/atkaction.c, atk/atkcomponent.c
index 03c447f..3bfaa66 100644 (file)
@@ -30,6 +30,13 @@ extra_files =
 # 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 =                           \