Makefile revision 13787
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# Makefile for generateing man page tarballs that are used in each of the
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# SUNW*.spec files
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# e.g. sun-manpage-tarballs/*.tar.gz
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# "make" : Rebuilds all man page tarballs
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# "make check-used" : Outputs list of man pages not being used.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# "make check-version" : Prints current man page tarball version
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# e.g. "make SUNWgnome-panel-manpages-0.1.tar.gz"
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# will only generate SUNWgnome-panel's man page tarball
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For each package that contains man pages.
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# - Ensure all relevant man pages for your package are located under the
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# correct man page section dir i.e.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# - Add Package name to PACKAGES Variable
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# e.g. PACKAGES = \
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater# SUNWgnome-panel \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# SUNWyour-package
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# - Add two package specific variables
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# PACKAGE_PAGES - Full path of all manpages for this package
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# e.g. SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# e.g. SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# To Add new man pages to existing packages
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# -----------------------------------------
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Put very simply, all that is required from engineers is to make some changes
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# and commit in SVN.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# - Ensure the man page exists in SVN under the relevant man page section sub
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - Add man page to the SUNW<package>_PAGES Makefile variable
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# e.g. For a new gnome-panel man page it would be added to
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# SUNWgnome-panel_PAGES
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# - Remake tarballs
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# This will re-generate all man page tarballs.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - Copy newly generated tarball from sun-manpage-tarballs to package build
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# install correctly.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - New man page tarball will be generated by RE for each nightly, and for each
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# milestone build.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# - Commit change back to subverison, e.g. new/amended man pagees,
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# branched. PLEASE do not change this.
b13d89bd89878137c81b36a36596cca3920f27a4Automatic UpdaterSUNWdbus-bindings.PAGES: $(SUNWdbus-bindings_PAGES)
b1265b5a06df36d490d4bdf54284fb133a1f5a84Automatic UpdaterSUNWevolution-libs.PAGES: $(SUNWevolution-libs_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-a11y-gok.PAGES: $(SUNWgnome-a11y-gok_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterSUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
ae7e54b14c946e0984c191554db9abb4893f9349Automatic UpdaterSUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
ae7e54b14c946e0984c191554db9abb4893f9349Automatic UpdaterSUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
ae7e54b14c946e0984c191554db9abb4893f9349Automatic UpdaterSUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonSUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-base-libs.PAGES: $(SUNWgnome-base-libs_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark AndrewsSUNWgnome-cd-burner.PAGES: $(SUNWgnome-cd-burner_PAGES)
79cea03ba823e2d3a34895f0ba91d7fb5ad799e7Automatic UpdaterSUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington man1/gnome-accessibility-keyboard-properties.1 \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater man1/gnome-default-applications-properties.1 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark AndrewsSUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic UpdaterSUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic UpdaterSUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic UpdaterSUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
665ba746c0585088d0c314dcfc4671aa2c7b2dc1Automatic UpdaterSUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic UpdaterSUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic UpdaterSUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic UpdaterSUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater man1/scrollkeeper-get-extended-content-list.1 \
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater man1/scrollkeeper-get-index-from-docpath.1 \
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater man1/scrollkeeper-get-toc-from-docpath.1 \
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic UpdaterSUNWgnome-libs.PAGES: $(SUNWgnome-libs_PAGES)
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic UpdaterSUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic UpdaterSUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic UpdaterSUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic UpdaterSUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
19dbf2e20df03f2b81ed1f347e27718084374059Automatic UpdaterSUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic UpdaterSUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic UpdaterSUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
80af59ad4dcdf8370354fb45a049f1768e1a13c4Automatic UpdaterSUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
5f4db4a664e7742d47abed1401fc42e4dd68174cAutomatic UpdaterSUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
47ff70af9e842bf0f69d209433995216f560fe4aAutomatic UpdaterSUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic UpdaterSUNWgnome-sys-suspend.PAGES: $(SUNWgnome-sys-suspend_PAGES)
45c349c278fd83acd4dcb91eec3482401a623e47Automatic UpdaterSUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic UpdaterSUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWgnome-vfs.PAGES: $(SUNWgnome-vfs_PAGES)
8711e5c73ca872d59810760af0332194cbdd619bAutomatic UpdaterSUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
4dca64bb8991502db368028aeeba2f832d3b971dAutomatic UpdaterSUNWrealplayer.PAGES: $(SUNWrealplayer_PAGES)
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic UpdaterSUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic UpdaterSUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic UpdaterSUNWgnome-power-manager.PAGES: $(SUNWgnome-power-manager_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWprint-monitor.PAGES: $(SUNWprint-monitor_PAGES)
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic UpdaterSUNWvirt-manager.PAGES: $(SUNWvirt-manager_PAGES)
c53a6f37deaa396660adb6a4ca600c4a58adfd3fAutomatic UpdaterSUNWgnome-games.PAGES: $(SUNWgnome-games_PAGES)
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic UpdaterSUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterSUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic UpdaterSUNWgnome-spell.PAGES: $(SUNWgnome-spell_PAGES)
48dfee71508886d86fe8fb12f91961b5daf3141dMark AndrewsSUNWlibgpg-error.PAGES: $(SUNWlibgpg-error_PAGES)
48dfee71508886d86fe8fb12f91961b5daf3141dMark AndrewsSUNWgnome-camera.PAGES: $(SUNWgnome-camera_PAGES)
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews.SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
48dfee71508886d86fe8fb12f91961b5daf3141dMark AndrewsTARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
782b50b4ebbd48d570831f66d8ffc550e0db340cAutomatic Updater @test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
782b50b4ebbd48d570831f66d8ffc550e0db340cAutomatic Updater @test -x $(GZIP) || echo "gzip utility not found"
782b50b4ebbd48d570831f66d8ffc550e0db340cAutomatic Updater $(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
782b50b4ebbd48d570831f66d8ffc550e0db340cAutomatic Updater%-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews @if test -f $(TARBALL_DIR)/$@; then \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @test -d $(MANPAGE_DIR) || mkdir -p "$(MANPAGE_DIR)"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @echo "Converting manpages for $@"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @for manpage in $($(subst .PAGES,_PAGES,$<)); do \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$'`; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater idx1 = index($$0, "ARC "); \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater idx2 = index($$0, "-->"); \
79cea03ba823e2d3a34895f0ba91d7fb5ad799e7Automatic Updater if (idx1 > 0 && idx2 > 0) { \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater print "...\\\" " substr($$0, idx1+6, idx2-(idx1+6)); \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
bbf7c3fd96ae5e02cb84743c581862e35327032aAutomatic Updater @cp Makefile.template $(MANPAGE_DIR)/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @for mantype in entities 1 1m 3 3tiff 4 5; do \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if test -f $(MANPAGE_DIR)/$$mantype; then \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
765c97d56ccddc9d7904c7d9ff2e2d825d9687e4Automatic Updater if (length(saved_page) > 0) \
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updater print " " saved_page " \\"; \
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updater saved_page=$$0; \
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updater print " " saved_page; \
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updater }' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
7a6ad11e0185a73984410f3252f3c49c3a301dbdBrian Wellington @echo "install:" >> $(MANPAGE_DIR)/Makefile
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater @for mantype in entities 1 1m 3 3tiff 4 5; do \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if test -f $(MANPAGE_DIR)/$$mantype; then \
7a6ad11e0185a73984410f3252f3c49c3a301dbdBrian Wellington echo " install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo " for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo " install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater echo " done" >> $(MANPAGE_DIR)/Makefile; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @tarball=`basename "$@" .gz`; echo "Making tarball $$tarball"; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @test -d check-used-manpages || mkdir -p "check-used-manpages"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @test -d check-all-manpages || mkdir -p "check-all-manpages"
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater $(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater @all_manpages=`ls check-all-manpages/*`; \
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater if test -f check-used-manpages/$$base_manpage; then \
f65d2e1c04c806a185bf9f3120e80692f5ccd5e6Automatic Updater echo " "$$base_manpage >> unused-manpages.txt; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @if test -f unused-manpages.txt; then \
bbb069be941f649228760edcc241122933c066d2Automatic Updater echo "Following Manpages are not being used in any SUNW package :"; \
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater echo "All man pages are being used"; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater @for manpage in $($(subst .PAGES,_PAGES,$<)); do \