summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-03 08:24:29 +0100
committerJim Meyering <meyering@redhat.com>2009-03-03 08:24:29 +0100
commitcb0d71399c27213cd01828969424fa6b2f451515 (patch)
treefad261ef363bf7ab7e5c138eb28b46e40a4b5224 /maint.mk
parent59cec5af1277d335f1c63662ea6145f574c86beb (diff)
downloadcoreutils-cb0d71399c27213cd01828969424fa6b2f451515.tar.xz
maint: improve release-related process and documentation
* README-release: Fix typo. it's "maintainer-clean". Refer to HACKING for full list of dependencies. Use cvs add's -ko option to inhibit $Id$-style keyword expansion. * maint.mk (web-manual): Factor out definition of $(manual_title). (vc-dist): Set XZ_OPT=-9ev for the final "make dist". * cfg.mk (manual_title): Define it here. Suggestions from Eric Blake.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/maint.mk b/maint.mk
index ee279fe9a..484e3039f 100644
--- a/maint.mk
+++ b/maint.mk
@@ -642,7 +642,7 @@ maintainer-distcheck:
# Don't make a distribution if checks fail.
# Also, make sure the NEWS file is up-to-date.
vc-dist: $(local-check) cvs-check maintainer-distcheck
- $(MAKE) dist
+ XZ_OPT=-9ev $(MAKE) dist
# Use this to make sure we don't run these programs when building
# from a virgin tgz file, below.
@@ -865,8 +865,10 @@ alpha beta major: $(local-check) writable-files
.PHONY: web-manual
web-manual:
+ @test -z "$(manual_title)" \
+ && { echo define manual_title in cfg.mk 1>&2; exit 1; } || :
@cd '$(srcdir)/doc'; \
$(SHELL) ../build-aux/gendocs.sh -o '$(abs_builddir)/doc/manual' \
--email $(PACKAGE_BUGREPORT) $(PACKAGE) \
- "$(PACKAGE_NAME) - Core GNU utilities"
+ "$(PACKAGE_NAME) - $(manual_title)"
@echo " *** Upload the doc/manual directory to web-cvs."