Makefile revision 15944
ca21f4d2622a817d3cb3204210afb6c586d5d7acrbb# Makefile for generateing man page tarballs that are used in each of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# SUNW*.spec files
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# e.g. sun-manpage-tarballs/*.tar.gz
571760de5e60c0b459cb11be45507b923cd023eejwoolley# "make" : Rebuilds all man page tarballs
9180a5933673ffb1af633c255ceee029340f3b1erbb# "make check-used" : Outputs list of man pages not being used.
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# "make check-version" : Prints current man page tarball version
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# will only generate SUNWgnome-panel's man page tarball
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# For each package that contains man pages.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# - Ensure all relevant man pages for your package are located under the
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# correct man page section dir i.e.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# - Add Package name to PACKAGES Variable
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# e.g. PACKAGES = \
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# SUNWgnome-panel \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# SUNWyour-package
af4c982a7cf4515f124935f99a329744035fc699slive# - Add two package specific variables
af4c982a7cf4515f124935f99a329744035fc699slive# PACKAGE_PAGES - Full path of all manpages for this package
af4c982a7cf4515f124935f99a329744035fc699slive# e.g. SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
af4c982a7cf4515f124935f99a329744035fc699slive# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
af4c982a7cf4515f124935f99a329744035fc699slive# e.g. SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# To Add new man pages to existing packages
531c23ff01a2489646f0a2029097013b328d935agstein# -----------------------------------------
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# Put very simply, all that is required from engineers is to make some changes
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# and commit in SVN.
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# - Ensure the man page exists in SVN under the relevant man page section sub
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# - Add man page to the SUNW<package>_PAGES Makefile variable
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# e.g. For a new gnome-panel man page it would be added to
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# SUNWgnome-panel_PAGES
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# - Remake tarballs
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# This will re-generate all man page tarballs.
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# - Copy newly generated tarball from sun-manpage-tarballs to package build
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# install correctly.
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# - New man page tarball will be generated by RE for each nightly, and for each
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# milestone build.
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# - Commit change back to subverison, e.g. new/amended man pagees,
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
ec75f189410513ab8f6e1173a9d9d277ebec9ce7gstein# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe# branched. PLEASE do not change this.
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-a11y-mousetweaks.PAGES: $(SUNWgnome-a11y-mousetweaks_PAGES)
28d1da9ca818f831ea491f110dafcc10f7f07050coarSUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
28d1da9ca818f831ea491f110dafcc10f7f07050coarSUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarSUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
ec0315cdf832eac2b78e50ad636af84fe4c9118cgsteinSUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
dbf0c7bef06259486cd2748a2d0e82f27e099d6efieldingSUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
2a6c49cfaef5979a5a06098f3ce987cd76769409manojSUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
SUNWjpg_PAGES = \
SUNWpng_PAGES = \
SUNWfsexam_PAGES = \
SUNWgamin_PAGES = \
SUNWliboil_PAGES = \
SUNWglibmm_PAGES = \
SUNWsigcpp_PAGES = \
SUNWgnutls_PAGES = \
SUNWgtkmm_PAGES = \
SUNWespeak_PAGES = \
SUNWw3m_PAGES = \
SUNWlibgsf_PAGES = \
SUNWdia_PAGES = \
SUNWdrivel_PAGES = \
SUNWbabl_PAGES = \
SUNWgegl_PAGES = \
@if test -f $(TARBALL_DIR)/$@; then \
echo " $$base_manpage"; \
echo " install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
@if test -f unused-manpages.txt; then \
@echo $(MANPAGE_VERSION)