automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} maint: remove obsolete/broken maintainer targets


From: Stefano Lattarini
Subject: [FYI] {maint} maint: remove obsolete/broken maintainer targets
Date: Sun, 15 Jan 2012 23:40:13 +0100

* Makefile.am (git-diff): Remove.  First, we don't distribute diffs
between an automake version and the next anyway, so this target is
pointless.   Moreover, its recipe has been broken for quite a long
time now, always generating any empty diffs due to the spurious
'$(PACKAGE)' argument that was passed to the "git diff" invocation.
(path-check): Remove.  The 'pathchk' program running in this check
complains about any file with name longer than 14 characters, which
is a ridiculously low limit for today standards.  Also, we already
had several test scripts (no less than 195!) that were exceeding
that limit, and nobody ever complained (not even on MinGW/MSYS nor
Cygwin).
---
 Makefile.am |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e8330f5..afed46a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -623,27 +623,6 @@ git-release: git-dist
        $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
          --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
 
-git-diff:
-       $(AM_V_GEN):; \
-       thisver="v$(VERSION)"; \
-       if test -z "$$OLDVERSION"; then \
-         prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
-       else prevno="$$OLDVERSION"; fi; \
-       prevver=v$$prevno; \
-       git diff $$prevver..$$thisver $(PACKAGE) \
-           > $(PACKAGE)-$$prevno-$(VERSION).diff
-
-## Check our path lengths.
-path-check: distdir
-       $(AM_V_GEN)($(am__cd) $(distdir) && \
-## FIXME there's got to be a better way!  pathchk should take the list
-## of files on stdin, at least.
-         find . -print | xargs pathchk -p); \
-         estatus=$$?; \
-         find $(distdir) -type d '!' -perm -200 -exec chmod u+w {} ';'; \
-         rm -rf $(distdir); \
-         exit $$estatus
-
 ## Visually comparing differences between the Makefile.in files in
 ## automake's own build system as generated in two different branches
 ## might help to catch bugs and blunders.  This has already happened a
-- 
1.7.7.3




reply via email to

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