summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.maint2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d682a27b..d80ef050f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-12-02 Jim Meyering <meyering@redhat.com>
+ Make my-distcheck depend on "check".
+ * Makefile.maint (my-distcheck): Also depend on "check", so I can't tag
+ and release something that fails "make check" (however harmless) when
+ run in a checked-out-from-git dir, but not in the distributed tarball.
+
* NEWS: Add the usual "Noteworthy changes in release 6.9.91..." line.
Remove just-installed su, if unable to make it set-UID root.
diff --git a/Makefile.maint b/Makefile.maint
index e9ab2e6b0..fe6bee501 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -565,7 +565,7 @@ write_loser = printf '\#!%s\necho $$0: bad path 1>&2; exit 1\n' '$(SHELL)'
# Note that "false" itself is a symlink to true, so it too will malfunction.
TMPDIR ?= /tmp
t=$(TMPDIR)/$(PACKAGE)/test
-my-distcheck: $(local-check) $(release_archive_dir)/$(prev-tgz)
+my-distcheck: $(local-check) $(release_archive_dir)/$(prev-tgz) check
-rm -rf $(t)
mkdir -p $(t)
GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz