2 # This Makefile fragment is shared between fileutils, sh-utils, textutils.
5 if head ChangeLog| grep 'Version $(VERSION)' > /dev/null; then \
8 echo "$(VERSION) not in ChangeLog; not tagging" 1>&2; \
14 # Tag before making distribution. Also, don't make a distribution if
15 # checks fail. Also, make sure the NEWS file is up-to-date.
16 cvs-dist: maintainer-check
17 pkg=`echo "$(PACKAGE)" | tr a-z A-Z`; \
18 ver=`echo "$(VERSION)" | sed 's/\./_/g'`; \
21 if cvs -n log -h README| grep -e $$tag > /dev/null; then \
22 echo "VERSION not new; not tagging" 1>&2; \
33 GZIP=$(GZIP) $(TAR) -C $(t) -zxf $(distdir).tar.gz
35 && ./configure --disable-nls \
40 cd $(t) && $(TAR) --diff -z -f ../$(distdir).tar.gz
42 @echo "========================"; \
43 echo "$(distdir).tar.gz is ready for distribution"; \
44 echo "========================"