bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint.mk: remove more coreutils-specific targets; XZ_OPT=-9ev


From: Jim Meyering
Subject: [PATCH] maint.mk: remove more coreutils-specific targets; XZ_OPT=-9ev
Date: Sat, 29 Aug 2009 17:28:37 +0200

I noticed that coreutils' recent .xz tarball was 440MB larger (that >10%)
than the preceding one, and tracked the difference to an error in
maint.mk.  I'd set XZ_OPT=9ev rather than XZ_OPT=-9ev.
This fixes it, along with a few other corrections and clean-up.

>From 53181ad5a87facb5d424a04d039606a8694ce261 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 29 Aug 2009 17:24:03 +0200
Subject: [PATCH] maint.mk: remove more coreutils-specific targets; XZ_OPT=-9ev

* top/maint.mk (cvs-check): Remove target; it was just an alias
to the better-named vc-diff-check.
(maintainer-distcheck): Remove rule.  It was used only from
the (alpha/beta/major) target, and all of its commands but one
were coreutils-specific.
(vc-dist): Remove rule.
(alpha beta major): Run "$(MAKE) distcheck" explicitly.
Run vc-diff-check, not vc-dist.
Run $(MAKE) dist with XZ_OPT=-9ev.  Note spelling, with "-".
---
 ChangeLog    |   13 +++++++++++++
 top/maint.mk |   19 +++----------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0a1297d..50ac840 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2009-08-29  Jim Meyering  <address@hidden>
+
+       maint.mk: remove more coreutils-specific targets; XZ_OPT=-9ev
+       * top/maint.mk (cvs-check): Remove target; it was just an alias
+       to the better-named vc-diff-check.
+       (maintainer-distcheck): Remove rule.  It was used only from
+       the (alpha/beta/major) target, and all of its commands but one
+       were coreutils-specific.
+       (vc-dist): Remove rule.
+       (alpha beta major): Run "$(MAKE) distcheck" explicitly.
+       Run vc-diff-check, not vc-dist.
+       Run $(MAKE) dist with XZ_OPT=-9ev.  Note spelling, with "-".
+
 2009-08-27  Bruno Haible  <address@hidden>

        * tests/test-bitrotate.c (main): Remove test that uses a shift count
diff --git a/top/maint.mk b/top/maint.mk
index 21782e5..39bbc76 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -618,21 +618,6 @@ vc-diff-check:
          rm vc-diffs;                                          \
        fi

-cvs-check: vc-diff-check
-
-ALL_RECURSIVE_TARGETS += maintainer-distcheck
-maintainer-distcheck:
-       $(MAKE) distcheck
-       $(MAKE) taint-distcheck
-       $(MAKE) my-distcheck
-
-
-# Don't make a distribution if checks fail.
-# Also, make sure the NEWS file is up-to-date.
-ALL_RECURSIVE_TARGETS += vc-dist
-vc-dist: $(local-check) cvs-check maintainer-distcheck
-       XZ_OPT=9ev $(MAKE) dist
-
 # Use this to make sure we don't run these programs when building
 # from a virgin tgz file, below.
 null_AM_MAKEFLAGS = \
@@ -708,8 +693,10 @@ alpha beta major: $(local-check) writable-files 
no-submodule-changes
          && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \
               || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\
          || :
-       $(MAKE) vc-dist
+       $(MAKE) vc-diff-check
        $(MAKE) news-date-check
+       $(MAKE) distcheck
+       $(MAKE) dist XZ_OPT=-9ev
        $(MAKE) -s announcement RELEASE_TYPE=$@ > /tmp/announce-$(my_distdir)
        if test -d $(release_archive_dir); then                 \
          ln $(rel-files) $(release_archive_dir);               \
--
1.6.4.1.373.g81fb2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]