summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-15 22:42:34 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-15 22:42:34 +0100
commit239a5894acb53e6b72f281699ff20edb60dac7a3 (patch)
tree354a470767ea7843b45dc0b2fe9174534ad0b420 /doc/Makefile.am
parent5db22a16ba0a6d2ba01fa8360481d80a0c40c964 (diff)
parent086aca14a4442df10002b23f57e57e8526d4a9a1 (diff)
downloadautomake-239a5894acb53e6b72f281699ff20edb60dac7a3.tar.gz
Merge branch 'maint'
* maint: tests: move list of tests in its own Makefile fragment build: silence automake build system
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ae4016cf5..ee5c439c6 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,7 +2,8 @@
## Makefile for Automake.
-# Copyright (C) 2003, 2006, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006, 2008, 2009, 2012 Free Software Foundation,
+# Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -70,7 +71,8 @@ dist_doc_DATA = $(srcdir)/amhello-1.0.tar.gz
# aclocal-$(APIVERSION) and automake-$(APIVERSION) are generated by
# configure in tests/.
$(srcdir)/amhello-1.0.tar.gz: $(amhello_sources) $(top_srcdir)/configure.ac
- $(AM_V_GEN)PATH="`pwd`/../tests$(PATH_SEPARATOR)$$PATH" && \
+ $(AM_V_GEN)abs_top_builddir=`cd '$(top_builddir)' && pwd` && \
+ PATH="$$abs_top_builddir/tests$(PATH_SEPARATOR)$$PATH" && \
export PATH && \
cd $(srcdir)/amhello && \
ACLOCAL=aclocal-$(APIVERSION) && export ACLOCAL && \