summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-07-14 18:03:51 +0000
committerJim Meyering <jim@meyering.net>2001-07-14 18:03:51 +0000
commit293e33d6b44d20816d96d1fa9a8f964bdc383201 (patch)
tree4b32bfabe96a715a96c2d59dc47aa5740ec21d9e
parent75b89617fb028f2463e3b91b01445d7573f899e6 (diff)
downloadcoreutils-293e33d6b44d20816d96d1fa9a8f964bdc383201.tar.xz
merge in a fix from autoconf
-rw-r--r--Makefile.maint7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.maint b/Makefile.maint
index c5dcf2c1b..3767b2645 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -17,7 +17,7 @@ my_distdir = $(PACKAGE)-$(VERSION)
# Old releases are stored here.
# Used for diffs and xdeltas.
-release-archive-dir = ../release
+release-archive-dir ?= ../release
@@ -256,7 +256,8 @@ endef
# Make sure that the copyright date in lib/version-etc.c is up to date.
check-copyright:
@if test -f lib/version-etc.c; then \
- grep 'N_("Copyright (C) $(shell date +%Y) Free' lib/version-etc.c > /dev/null \
+ grep 'N_("Copyright (C) $(shell date +%Y) Free' lib/version-etc.c \
+ > /dev/null \
|| { echo 'out of date copyright in $<; update it' 1>&2; exit 1; }; \
fi
@@ -264,7 +265,7 @@ check-copyright:
$(xd-delta): $(release-archive-dir)/$(prev-tgz) $(distdir).tar.gz
xdelta delta -9 $^ $@ || :
-alpha: static-check $(xd-delta)
+alpha: local-check $(xd-delta)
$(MAKE) cvs-dist
$(MAKE) -s announcement > /tmp/announce-$(my_distdir)
ln $(distdir).tar.gz $(release-archive-dir)