Makefile revision 13623
2N/A# Makefile for generateing man page tarballs that are used in each of the 2N/A# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz 2N/A# "make" : Rebuilds all man page tarballs 2N/A# "make check-used" : Outputs list of man pages not being used. 2N/A# "make check-version" : Prints current man page tarball version 2N/A# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz 2N/A# will only generate SUNWgnome-panel's man page tarball 2N/A# For each package that contains man pages. 2N/A# - Ensure all relevant man pages for your package are located under the 2N/A# correct man page section dir i.e. 2N/A# - Add Package name to PACKAGES Variable 2N/A# - Add two package specific variables 2N/A# PACKAGE_PAGES - Full path of all manpages for this package 2N/A# To Add new man pages to existing packages 2N/A# ----------------------------------------- 2N/A# Put very simply, all that is required from engineers is to make some changes 2N/A# - Ensure the man page exists in SVN under the relevant man page section sub 2N/A# - Add man page to the SUNW<package>_PAGES Makefile variable 2N/A# e.g. For a new gnome-panel man page it would be added to 2N/A# SUNWgnome-panel_PAGES 2N/A# This will re-generate all man page tarballs. 2N/A# - Copy newly generated tarball from sun-manpage-tarballs to package build # - New man page tarball will be generated by RE for each nightly, and for each # - Commit change back to subverison, e.g. new/amended man pagees, # MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets # branched. PLEASE do not change this. @
test -x
$(SGML2ROFF) ||
echo "sgml2roff utility not found" @
test -x
$(GZIP) ||
echo "gzip utility not found" @
echo "Converting manpages for $@" idx1 = index($$0, "ARC "); \ idx2 = index($$0, "-->"); \ if (idx1 > 0 && idx2 > 0) { \ print "...\\\" " substr($$0, idx1+6, idx2-(idx1+6)); \ if (length(saved_page) > 0) \ print " " saved_page " \\"; \ echo "Following Manpages are not being used in any SUNW package :"; \
echo "All man pages are being used"; \