tests: Prefer $(VAR) over @VAR@ in Makefiles.
authorBen Pfaff <blp@nicira.com>
Thu, 14 Jan 2010 19:32:00 +0000 (11:32 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jan 2010 17:31:05 +0000 (09:31 -0800)
The Autoconf documentation recently started recommending $(VAR) over @VAR@,
so adopt this style.

tests/automake.mk

index 044a1091c7202437562eeabee11399321b90b505..f77bdac180a1e5c156c339072f00da41a30d400e 100644 (file)
@@ -59,11 +59,11 @@ $(TESTSUITE): package.m4 $(TESTSUITE_AT)
 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
        :;{ \
          echo '# Signature of the current package.' && \
-         echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])' && \
-         echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])' && \
-         echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])' && \
-         echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])' && \
-         echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
+         echo 'm4_define([AT_PACKAGE_NAME],      [$(PACKAGE_NAME)])' && \
+         echo 'm4_define([AT_PACKAGE_TARNAME],   [$(PACKAGE_TARNAME)])' && \
+         echo 'm4_define([AT_PACKAGE_VERSION],   [$(PACKAGE_VERSION)])' && \
+         echo 'm4_define([AT_PACKAGE_STRING],    [$(PACKAGE_STRING)])' && \
+         echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])'; \
        } >'$(srcdir)/package.m4'
 
 noinst_PROGRAMS += tests/test-aes128