Use @VARIABLE@ instead of $(VARIABLE) consistently in Makefiles.
[pspp-builds.git] / src / libpspp / automake.mk
index 7cd5bbfaae42d9f8c9d3f525eec773a17b211485..746756d8900ba0207e45ae77718ed8dbab8dda91 100644 (file)
@@ -92,9 +92,9 @@ src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
        echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
        echo "*/" >> $@
        echo "#include \"version.h\"" >> $@
-       echo "const char bare_version[] = \"@VERSION@\";" >> $@
-       echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> $@
-       echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \
+       echo "const char bare_version[] = \"$(VERSION)\";" >> $@
+       echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
+       echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
 (`date`).\";" >> $@
        echo "const char host_system[] = \"$(host_triplet)\";" >> $@
        echo "const char build_system[] = \"$(build_triplet)\";" >> $@