Makefile revision 17691
229N/A# Makefile for generateing man page tarballs that are used in each of the 229N/A# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz 229N/A# "make" : Rebuilds all man page tarballs 229N/A# "make check-used" : Outputs list of man pages not being used. 229N/A# "make check-version" : Prints current man page tarball version 229N/A# will only generate SUNWgnome-panel's man page tarball 229N/A# For each package that contains man pages. 229N/A# - Ensure all relevant man pages for your package are located under the 229N/A# - Add Package name to PACKAGES Variable 618N/A# - Add two package specific variables 229N/A# PACKAGE - Full path of all manpages for this package with section 229N/A# To Add new man pages to existing packages 229N/A# ----------------------------------------- 229N/A# Put very simply, all that is required from engineers is to make some changes 229N/A# - Ensure the man page exists in SVN under the relevant man page section sub 229N/A# - Add man page to the SUNW<package>_PAGES Makefile variable 229N/A# e.g. For a new gnome-panel man page it would be added to 1938N/A# This will re-generate all man page tarballs. 1938N/A# - Copy newly generated tarball from sun-manpage-tarballs to package build 231N/A# - New man page tarball will be generated by RE for each nightly, and for each 229N/A# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets 229N/A# branched. PLEASE do not change this. @
test -x
$(GZIP) ||
echo "gzip utility not found" sed -n "s/man[0-9]\w*\/.*\.\([0-9]\w*\)$$/\1/p"`; \
sed -n "s/man\([0-9]\w*\)\/.*\.\([0-9]\w*\)$$/\1/p"`; \
{ echo "Can't recognize the section name of $$manpage_name"; exit 1; }; \
echo "Following Manpages are not being used in any SUNW package :"; \
echo "All man pages are being used"; \