# Maintainer makefile rules for Automake.
#
-# Copyright (C) 1995-2012 Free Software Foundation, Inc.
+# Copyright (C) 1995-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
PERL_COVER = cover
check-coverage-run recheck-coverage-run: %-coverage-run: all
- $(mkinstalldirs) $(PERL_COVERAGE_DB)
+ $(MKDIR_P) $(PERL_COVERAGE_DB)
PERL5OPT="$$PERL5OPT $(PERL_COVERAGE_FLAGS)"; export PERL5OPT; \
WANT_NO_THREADS=yes; export WANT_NO_THREADS; unset AUTOMAKE_JOBS; \
- $(MAKE) $(AM_MAKEFLAGS) $*
+ $(MAKE) $*
check-coverage-report:
@if test ! -d "$(PERL_COVERAGE_DB)"; then \
# We don't use direct dependencies here because we'd like to be able
# to invoke the report even after interrupted check-coverage.
check-coverage: check-coverage-run
- $(MAKE) $(AM_MAKEFLAGS) check-coverage-report
+ $(MAKE) check-coverage-report
recheck-coverage: recheck-coverage-run
- $(MAKE) $(AM_MAKEFLAGS) check-coverage-report
+ $(MAKE) check-coverage-report
clean-coverage:
rm -rf "$(PERL_COVERAGE_DB)"
$$run $(GIT) tag -s "v$(VERSION)" -m "$$release_type $(VERSION)"
git-upload-release:
- @# Check this a version we can cut a release release from the
- @# current repository: we must have a beta version, and the
- @# repository must be clean.
+ @# Check this is a version we can cut a release (either test
+ @# or stable) from.
@$(determine_release_type)
+ @# The repository must be clean.
@$(git_must_have_clean_workdir)
@# Check that we are releasing from a valid tag.
- tag=`$(GIT) describe` \
+ @tag=`$(GIT) describe` \
&& case $$tag in "v$(VERSION)") true;; *) false;; esac \
|| { echo "$@: you can only create a release from a tagged" \
"version" >&2; \
exit 1; }
@# Build the distribution tarball(s).
- $(MAKE) $(AM_MAKEFLAGS) dist
+ $(MAKE) dist
@# Upload it to the correct FTP repository.
@$(determine_release_type) \
&& dest=$$dest.gnu.org:automake \