Fix dependence on computed configure variables.

* doc/Makefile.am (common_dep): Depend on $(top_srcdir)/configure not
$(top_srcdir)/configure.ac so that changes to computed variables, such
as PACKAGE_VERSION, are seen.
* tests/Makefile.am ($(srcdir)/package.m4): Likewise.
This commit is contained in:
Joel E. Denny
2008-07-27 00:56:58 -04:00
parent 5523ac79a0
commit c53d18b157
3 changed files with 11 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
## package.m4. ##
## ------------ ##
$(srcdir)/package.m4: $(top_srcdir)/configure.ac
$(srcdir)/package.m4: $(top_srcdir)/configure
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [$(PACKAGE_NAME)])'; \