autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autotest and makefiles


From: Eric Blake
Subject: autotest and makefiles
Date: Fri, 08 Jan 2010 14:38:10 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

I'm pushing this, after getting a warning from gnulib's maint.mk about the
old-style @@ usage in a Makefile.am.  Autoconf was already using the new
style in its own Makefile.am, so this is documentation only.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
From d99296e4261bbfc566069dcf95f02d0fa70be72c Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Thu, 7 Jan 2010 10:58:24 -0700
Subject: [PATCH] Make autotest example act better with automake.

* doc/autoconf.texi (Making testsuite Scripts): Rely on automake
feature for recommended autotest snippet, following our own use.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog         |    4 ++++
 doc/autoconf.texi |   18 ++++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d15dc94..83583bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-01-08  Eric Blake  <address@hidden>

+       Make autotest example act better with automake.
+       * doc/autoconf.texi (Making testsuite Scripts): Rely on automake
+       feature for recommended autotest snippet, following our own use.
+
        Clarify language on handling of opening parenthesis.
        * doc/autoconf.texi (Autoconf Language): Give an example of
        improper argument passing.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 41d0443..d484910 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -23752,17 +23752,17 @@ Making testsuite Scripts
         :;@{ \
           echo '# Signature of the current package.' && \
           echo 'm4_define([AT_PACKAGE_NAME],' && \
-          echo '  [@@PACKAGE_NAME@@])' && \
+          echo '  [$(PACKAGE_NAME)])' && \
           echo 'm4_define([AT_PACKAGE_TARNAME],' && \
-          echo '  [@@PACKAGE_TARNAME@@])' && \
+          echo '  [$(PACKAGE_TARNAME)])' && \
           echo 'm4_define([AT_PACKAGE_VERSION],' && \
-          echo '  [@@PACKAGE_VERSION@@])' && \
+          echo '  [$(PACKAGE_VERSION)])' && \
           echo 'm4_define([AT_PACKAGE_STRING],' && \
-          echo '  [@@PACKAGE_STRING@@])' && \
+          echo '  [$(PACKAGE_STRING)])' && \
           echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \
-          echo '  [@@PACKAGE_BUGREPORT@@])'; \
+          echo '  [$(PACKAGE_BUGREPORT)])'; \
           echo 'm4_define([AT_PACKAGE_URL],' && \
-          echo '  [@@PACKAGE_URL@@])'; \
+          echo '  [$(PACKAGE_URL)])'; \
         @} >'$(srcdir)/package.m4'

 EXTRA_DIST = testsuite.at $(srcdir)/package.m4 $(TESTSUITE) atlocal.in
@@ -23801,6 +23801,12 @@ Making testsuite Scripts

 @example
 subdir = tests
+PACKAGE_NAME = @@PACKAGE_NAME@@
+PACKAGE_TARNAME = @@PACKAGE_TARNAME@@
+PACKAGE_VERSION = @@PACKAGE_VERSION@@
+PACKAGE_STRING = @@PACKAGE_STRING@@
+PACKAGE_BUGREPORT = @@PACKAGE_BUGREPORT@@
+PACKAGE_URL = @@PACKAGE_URL@@

 atconfig: $(top_builddir)/config.status
         cd $(top_builddir) && \
-- 
1.6.4.2

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]