-e 's|@M4_GNU[@]|$(M4_GNU)|g' \
-e 's|@AWK[@]|$(AWK)|g' \
-e 's|@RELEASE_YEAR[@]|$(RELEASE_YEAR)|g' \
- -e 's|@VERSION[@]|$(VERSION)|g' \
+ -e 's'\''@VERSION[@]'\''$(VERSION)'\''g' \
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
# want to depend on config.h but do want to track version changes.
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
- echo $(VERSION) > $@-t && mv $@-t $@
+ printf '%s\n' '$(VERSION)' > $@-t && mv $@-t $@
# Arrange so that .tarball-version appears only in distribution tarballs,
# never in a checked-out repository.
dist-hook: gen-ChangeLog
- echo $(VERSION) > $(distdir)/.tarball-version
+ printf '%s\n' '$(VERSION)' > $(distdir)/.tarball-version
# Arrange to remove the symlink to GNUmakefile in VPATH builds.
# TODO remove this once automake vs. AC_CONFIG_LINKS issue is fixed.
check-coverage-report:
@if test ! -d $(PERL_COVERAGE_DB); then \
- echo "No coverage database found in '$(PERL_COVERAGE_DB)'." >&2; \
- echo "Please run '$(MAKE) check-coverage' first" >&2; \
+ printf '%s\n' "No coverage database in '$(PERL_COVERAGE_DB)'." >&2; \
+ printf '%s\n' "Please run '$(MAKE) check-coverage' first" >&2; \
exit 1; \
fi
$(PERL_COVER) $(PERL_COVERAGE_DB) $(PERL_COVER_FLAGS)
PATH="$(top_srcdir)/man$(PATH_SEPARATOR)$$PATH"; \
PERL="$(PERL)"; \
PACKAGE_NAME="$(PACKAGE_NAME)"; \
- VERSION="$(VERSION)"; \
+ VERSION='$(VERSION)'; \
RELEASE_YEAR="$(RELEASE_YEAR)"; \
top_srcdir="$(top_srcdir)"; \
channeldefs_pm="$(channeldefs_pm)"; \