diff options
-rw-r--r-- | appliance/Makefile.am | 3 | ||||
-rw-r--r-- | gobject/docs/Makefile.am | 6 | ||||
-rw-r--r-- | inspector/Makefile.am | 3 | ||||
-rw-r--r-- | java/Makefile.am | 6 | ||||
-rw-r--r-- | ocaml/Makefile.am | 6 | ||||
-rw-r--r-- | php/Makefile.am | 3 | ||||
-rw-r--r-- | po/Makefile.am | 3 | ||||
-rw-r--r-- | python/Makefile.am | 2 | ||||
-rw-r--r-- | resize/Makefile.am | 6 | ||||
-rw-r--r-- | ruby/Makefile.am | 3 | ||||
-rw-r--r-- | sparsify/Makefile.am | 6 | ||||
-rw-r--r-- | sysprep/Makefile.am | 6 | ||||
-rw-r--r-- | tests/data/Makefile.am | 6 | ||||
-rw-r--r-- | tests/extra/Makefile.am | 3 | ||||
-rw-r--r-- | tests/guests/Makefile.am | 6 | ||||
-rw-r--r-- | tests/xml/Makefile.am | 3 |
16 files changed, 61 insertions, 10 deletions
diff --git a/appliance/Makefile.am b/appliance/Makefile.am index b8fe648c..59589971 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -15,6 +15,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ diff --git a/gobject/docs/Makefile.am b/gobject/docs/Makefile.am index f43ec9cd..5aadef12 100644 --- a/gobject/docs/Makefile.am +++ b/gobject/docs/Makefile.am @@ -15,6 +15,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/gobject/docs && pwd) + # The name of the module, e.g. 'glib'. DOC_MODULE=guestfs diff --git a/inspector/Makefile.am b/inspector/Makefile.am index 3e299417..00300a09 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -15,6 +15,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + include $(top_srcdir)/subdir-rules.mk EXAMPLE_XML = \ diff --git a/java/Makefile.am b/java/Makefile.am index 2a8b77b8..613aac92 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -15,13 +15,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + include $(top_srcdir)/subdir-rules.mk java_prefix = com/redhat/et/libguestfs -# Old RHEL 5 autoconf doesn't have builddir. -builddir ?= $(top_builddir)/java - generator_built = \ Makefile.inc \ $(java_built_sources) \ diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 8c742a22..f22f3f4c 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -15,6 +15,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/ocaml && pwd) + include $(top_srcdir)/subdir-rules.mk generator_built = \ diff --git a/php/Makefile.am b/php/Makefile.am index 7652b66e..220f13a9 100644 --- a/php/Makefile.am +++ b/php/Makefile.am @@ -17,6 +17,9 @@ include $(top_srcdir)/subdir-rules.mk +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/php && pwd) + generator_built = \ extension/php_guestfs_php.h \ extension/guestfs_php.c diff --git a/po/Makefile.am b/po/Makefile.am index 14adb3ab..141896a3 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -17,6 +17,9 @@ include $(top_srcdir)/subdir-rules.mk +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/po && pwd) + DOMAIN = $(PACKAGE_NAME) COPYRIGHT_HOLDER = Red Hat Inc. MSGID_BUGS_ADDRESS = https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools diff --git a/python/Makefile.am b/python/Makefile.am index 5931e2e4..c6c1b1df 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Old RHEL 5 autoconf doesn't have builddir. -builddir ?= $(top_builddir)/python +builddir ?= . include $(top_srcdir)/subdir-rules.mk diff --git a/resize/Makefile.am b/resize/Makefile.am index 00f5e350..8d87ab97 100644 --- a/resize/Makefile.am +++ b/resize/Makefile.am @@ -15,6 +15,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/resize && pwd) + include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ diff --git a/ruby/Makefile.am b/ruby/Makefile.am index c4b680f6..9073ad7d 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -15,6 +15,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + include $(top_srcdir)/subdir-rules.mk generator_built = \ diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am index 72cb2bb3..f4002e3e 100644 --- a/sparsify/Makefile.am +++ b/sparsify/Makefile.am @@ -17,6 +17,12 @@ include $(top_srcdir)/subdir-rules.mk +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/sparsify && pwd) + EXTRA_DIST = \ $(SOURCES) \ virt-sparsify.pod \ diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index 7dad06c1..ef47075e 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -15,6 +15,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have builddir. +builddir ?= . + +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/sysprep && pwd) + include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 85e1f392..fbf74d8b 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -15,10 +15,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -include $(top_srcdir)/subdir-rules.mk - # Old RHEL 5 autoconf doesn't have builddir. -builddir ?= $(top_builddir)/tests/data +builddir ?= . + +include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ filesanddirs-10M.tar.xz \ diff --git a/tests/extra/Makefile.am b/tests/extra/Makefile.am index 911c83eb..9bcb9881 100644 --- a/tests/extra/Makefile.am +++ b/tests/extra/Makefile.am @@ -48,6 +48,9 @@ # - hard to test because guestmount forks into the background, and # if valgrind reports errors it doesn't stop the test shell script +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/tests/extra && pwd) + EXTRA_DIST = pick-guests.pl suppressions VG = $(VALGRIND) \ diff --git a/tests/guests/Makefile.am b/tests/guests/Makefile.am index e20d91ca..3e5aea03 100644 --- a/tests/guests/Makefile.am +++ b/tests/guests/Makefile.am @@ -15,10 +15,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -include $(top_srcdir)/subdir-rules.mk - # Old RHEL 5 autoconf doesn't have builddir. -builddir ?= $(top_builddir)/tests/guests +builddir ?= . + +include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ guest-aux/make-debian-img.sh \ diff --git a/tests/xml/Makefile.am b/tests/xml/Makefile.am index d9abd5cd..f5638fcb 100644 --- a/tests/xml/Makefile.am +++ b/tests/xml/Makefile.am @@ -15,6 +15,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# Old RHEL 5 autoconf doesn't have abs_srcdir. +abs_srcdir ?= $(shell cd $(top_srcdir)/tests/xml && pwd) + include $(top_srcdir)/subdir-rules.mk if HAVE_LIBVIRT |