Makefile revision 15257
e32394a2ac3466a2235f79ee32c247a11be42a8dAndreas Gustafsson# Makefile for generateing man page tarballs that are used in each of the
e32394a2ac3466a2235f79ee32c247a11be42a8dAndreas Gustafsson# SUNW*.spec files
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews# e.g. sun-manpage-tarballs/*.tar.gz
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews# "make" : Rebuilds all man page tarballs
031f9084fc1ca8b258c151f428677e7226556ad0Mark Andrews# "make check-used" : Outputs list of man pages not being used.
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews# "make check-version" : Prints current man page tarball version
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews# e.g. "make SUNWgnome-panel-manpages-0.1.tar.gz"
44215b932d4f0ce5257d794cb6f76b9282455eb1Mark Andrews# will only generate SUNWgnome-panel's man page tarball
405ffb1f0d2c12d199f85f03973d1a02ac12e000Andreas Gustafsson# For each package that contains man pages.
405ffb1f0d2c12d199f85f03973d1a02ac12e000Andreas Gustafsson# - Ensure all relevant man pages for your package are located under the
405ffb1f0d2c12d199f85f03973d1a02ac12e000Andreas Gustafsson# correct man page section dir i.e.
405ffb1f0d2c12d199f85f03973d1a02ac12e000Andreas Gustafsson# entities/man1/man1m/man3/man3tiff/man4/man5
eea2865feca4ea56facd2ef6e7226386a3604f65Andreas Gustafsson# - Add Package name to PACKAGES Variable
6d8568cb45240974da0ee1b653b28e3fdfffe93eAndreas Gustafsson# e.g. PACKAGES = \
6d8568cb45240974da0ee1b653b28e3fdfffe93eAndreas Gustafsson# SUNWgnome-panel \
6d8568cb45240974da0ee1b653b28e3fdfffe93eAndreas Gustafsson# SUNWyour-package
e3402551ac9be809eeb3a4b7b30d023ba67dad28Brian Wellington# - Add two package specific variables
6d3f954c572db02159deedd444373161fda47a88Brian Wellington# PACKAGE_PAGES - Full path of all manpages for this package
b0f941a50f24656b3523609f86cead41b0269c7aBrian Wellington# e.g. SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
b0f941a50f24656b3523609f86cead41b0269c7aBrian Wellington# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
b0f941a50f24656b3523609f86cead41b0269c7aBrian Wellington# e.g. SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
ea419adc4eca4c3e44f2c282035b5dce6b795fe2Andreas Gustafsson# To Add new man pages to existing packages
ff59f0e4feaefb45a49427bd91775058b4b4f2d0Andreas Gustafsson# -----------------------------------------
ff59f0e4feaefb45a49427bd91775058b4b4f2d0Andreas Gustafsson# Put very simply, all that is required from engineers is to make some changes
eea2865feca4ea56facd2ef6e7226386a3604f65Andreas Gustafsson# and commit in SVN.
8af0b86ade4c15a7db207bd7643f8a9f6cb5a648David Lawrence# - Ensure the man page exists in SVN under the relevant man page section sub
674f1cfb1d7dfa92e52db950dbe80e60ef8f5cddBrian Wellington# - Add man page to the SUNW<package>_PAGES Makefile variable
674f1cfb1d7dfa92e52db950dbe80e60ef8f5cddBrian Wellington# e.g. For a new gnome-panel man page it would be added to
674f1cfb1d7dfa92e52db950dbe80e60ef8f5cddBrian Wellington# SUNWgnome-panel_PAGES
69d17bea6be937b92f3375e6249b5677c90f4fe2Andreas Gustafsson# - Remake tarballs
69d17bea6be937b92f3375e6249b5677c90f4fe2Andreas Gustafsson# This will re-generate all man page tarballs.
da76a8046e01e1c1c2e6f75772afb2c4f202cc25Brian Wellington# - Copy newly generated tarball from sun-manpage-tarballs to package build
cd7ffa4c1286a48c10056632be3fb0b64c575c35Brian Wellington# sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages
cd7ffa4c1286a48c10056632be3fb0b64c575c35Brian Wellington# install correctly.
cd7ffa4c1286a48c10056632be3fb0b64c575c35Brian Wellington# - New man page tarball will be generated by RE for each nightly, and for each
0cff88818a96197995c3533f6cbfb1a0efc06db0Brian Wellington# milestone build.
0cff88818a96197995c3533f6cbfb1a0efc06db0Brian Wellington# - Commit change back to subverison, e.g. new/amended man pagees,
5bba7216f3263dc49dd4db2ac64b6203a9e2b180Andreas Gustafsson# Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
40817ed9c13782a7844e15dde24432611c4694acDavid Lawrence# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
e06aebbe7b5b3128f99b16d6756a074b4de28d37Mark Andrews# branched. PLEASE do not change this.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceSUNWdbus-bindings.PAGES: $(SUNWdbus-bindings_PAGES)
08133a2dbe88e0715e092fbdeec2431971ec0711Andreas GustafssonSUNWevolution-libs.PAGES: $(SUNWevolution-libs_PAGES)
96ab25294b028270eb1be867613df8a6c999b332David LawrenceSUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
4ebb4093f80e32e4a57ff3769f7fd4ad2217ee44Andreas GustafssonSUNWevolution.PAGES: $(SUNWevolution_PAGES)
5aa96829fdd12f30a2e9f717e66d44a4698b0675Andreas GustafssonSUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
e2894b0e5007e49f5b21be9113e41419ca8489a0Brian WellingtonSUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
5aa96829fdd12f30a2e9f717e66d44a4698b0675Andreas GustafssonSUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
de8e189332e884db065b921f84e3ee4922ad10e3David LawrenceSUNWgnome-a11y-gok.PAGES: $(SUNWgnome-a11y-gok_PAGES)
1c823819b73f17cbfd188d35962da196a48190fbAndreas GustafssonSUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
b719a598e77aada962b3a05cb00179dc929d3939Andreas GustafssonSUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
428b78e56dc10ea220fadfed11242ceb1d51d0e3Andreas GustafssonSUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
b74e73c5b4b299da20a6b196b68b9068d376ff35Mark AndrewsSUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
d68e4b66b1075e556b480f8bfb607aeba5da46f6Andreas GustafssonSUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
f204bdd8e6703ff0ef1adf0a2c407202418a936dDavid LawrenceSUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWgnome-base-libs.PAGES: $(SUNWgnome-base-libs_PAGES)
17d91fddb33cc6e0bf2dfacf7156bb1ebba197d8David LawrenceSUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
a38e5f0695a8ddf0b3cbb70b5a172a5c6dce994bDavid LawrenceSUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWgnome-cd-burner.PAGES: $(SUNWgnome-cd-burner_PAGES)
99524919752c9b9abe1814007732b86592011cc1Brian WellingtonSUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
b3157263ee12a5792737f09b708d3fc65ca99e01Andreas GustafssonSUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceSUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
34ea3c6fd940a8514b5ec609491f823263a735c7Michael SawyerSUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark AndrewsSUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark AndrewsSUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister man1/gnome-accessibility-keyboard-properties.1 \
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister man1/gnome-default-applications-properties.1 \
77771185071bf74d53378f1a3099a04d2af5153eBrian WellingtonSUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
99f3a24e69edbb19e4fe7f2fb0a72c478f8c3cafJames BristerSUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
0bfcec250f9705a1211d0374f0fc1049960de84bMark AndrewsSUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
379bd2c19cec393f56a2e9c42cc87fc8213a1b62James BristerSUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
c24265935e70d17279153b3cde43e3f6c3527577Andreas GustafssonSUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
94c5757a7a2d98b4de3e7a68cfe330d59450f09eAndreas GustafssonSUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
71a4339351de0d8233d61025a667ec4dc3e0f868James BristerSUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
71a4339351de0d8233d61025a667ec4dc3e0f868James BristerSUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceSUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceSUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
40f349ad1f2f0a63ef2784b8affcd44dc660b39cJames Brister man1/scrollkeeper-get-extended-content-list.1 \
705cb05a187558959d20ec2c31e06de8e96f61b2David LawrenceSUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
0b056755b2f423ba5f6adac8f7851d78f7d11437David LawrenceSUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
0640343258a99230c62e39dfbbe1505e3a970ee8Andreas GustafssonSUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
dccfe96a449d135d1b3806a9ab8fd7481d017c8bAndreas GustafssonSUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
c8df84cb389994b4eaf549f5851e70d18e2d063fAndreas GustafssonSUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
7cd4c3ddd1baf5f2b204562fdba3da37c716cc78Andreas GustafssonSUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
5f80c1428b9b7235fc9c1c80aa505457c3043504Brian WellingtonSUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
b3aaa872e12e5c8658271bde8e4dd85d015e823fAndreas GustafssonSUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
b3aaa872e12e5c8658271bde8e4dd85d015e823fAndreas GustafssonSUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
a9bc95f22ef2dd4a12e79be99412c9f18b814a5dBrian WellingtonSUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
3c8e458ed2118828b13f35ca6fcc409da66c2869David LawrenceSUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
7ffc4c63ac8841d127c2d77c8716cc0dc483badcDavid LawrenceSUNWgnome-sys-suspend.PAGES: $(SUNWgnome-sys-suspend_PAGES)
a89b06a49cc61cdce2ce0ea0f62b514998fa16d9Andreas GustafssonSUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
9c987b20b9246a34f38af8ed3cd22c61040933a7Andreas GustafssonSUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
4c9406964425ecc33fac38bb093e236b43b449e6Andreas GustafssonSUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
533131b93b69c4534b5f1f9138b59211670e6e6dMichael GraffSUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
73abbeb5823a9b3e01b05a8878db915eb6beccdaAndreas GustafssonSUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
52b784e2a662038b833e4f9ad7bff881faf52a85Andreas GustafssonSUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
a120694df8156f76eb629e4d686d3729362e3c90David LawrenceSUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
34b394b43e2207e8f8f3703f0402422121455638David LawrenceSUNWgnome-power-manager.PAGES: $(SUNWgnome-power-manager_PAGES)
cde7793c7fb83adecf1a60bfc76cde6d1d7db0ebJames BristerSUNWprint-monitor.PAGES: $(SUNWprint-monitor_PAGES)
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceSUNWvirt-manager.PAGES: $(SUNWvirt-manager_PAGES)
c0b06c8275c5ea3cde8cc67f3a6f9cab1bd55d65James BristerSUNWgnome-games.PAGES: $(SUNWgnome-games_PAGES)
f7d85bae58428b91fde90f87c1e9ef89897acf2eAndreas GustafssonSUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
ec7493d8d1966a3dc5f5306fc0a96519e0de6dceAndreas GustafssonSUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
dcd66bf9667816cfc3419f2040e03f5621d88555Andreas GustafssonSUNWgnome-spell.PAGES: $(SUNWgnome-spell_PAGES)
e06abf2270cc397e6a1ab8e25055e9c05f256beeJames BristerSUNWlibgpg-error.PAGES: $(SUNWlibgpg-error_PAGES)
e411a986b94276c28e6a971f9c3b61d45c635456James BristerSUNWgnome-camera.PAGES: $(SUNWgnome-camera_PAGES)
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames BristerSUNWgnome-nettool.PAGES: $(SUNWgnome-nettool_PAGES)
e2cf9c2db3fd484d160d3b7850f5e4d9c19945faJames BristerSUNWnwam-manager.PAGES: $(SUNWnwam-manager_PAGES)
9bb05852fed91ff3913601b7ed8e43e711aa9094David Lawrence.SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid LawrenceTARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence @test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @test -x $(GZIP) || echo "gzip utility not found"
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence $(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
97f75286ada13a1b06a424607e638bde5ebfb3caAndreas Gustafsson%-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
97f75286ada13a1b06a424607e638bde5ebfb3caAndreas Gustafsson @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
97f75286ada13a1b06a424607e638bde5ebfb3caAndreas Gustafsson @if test -f $(TARBALL_DIR)/$@; then \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @test -d $(MANPAGE_DIR) || mkdir -p "$(MANPAGE_DIR)"
23a09704774241d2dba059e4d9231cd3d28bb116David Lawrence @echo "Converting manpages for $@"
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @for manpage in $($(subst .PAGES,_PAGES,$<)); do \
358628c8f4804a2db52be0f6d03a66137fab4884David Lawrence suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$'`; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence $(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence idx1 = index($$0, "ARC "); \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence idx2 = index($$0, "-->"); \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence if (idx1 > 0 && idx2 > 0) { \
027212247d59c05452abb7a8b253efe52d14459eDavid Lawrence print "...\\\" " substr($$0, idx1+6, idx2-(idx1+6)); \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @cp Makefile.template $(MANPAGE_DIR)/Makefile
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @for mantype in entities 1 1m 3 3tiff 4 5; do \
eefea43215016bce437ab4a7441b2851fd182960David Lawrence echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence if (length(saved_page) > 0) \
9c4f33b6718407e94d50dbfb4977e16d3f83de9dDavid Lawrence print " " saved_page " \\"; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence saved_page=$$0; \
c403d3f7d6cb17406e9be03a330ed5cf91619abcDavid Lawrence print " " saved_page; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence }' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
dc91d010dbd848ab3a11815e5a3d109662a38b0cDavid Lawrence @for mantype in entities 1 1m 3 3tiff 4 5; do \
e3b3a046bf653d39cb5b92534a6a36fce1702d20Bob Halley echo " install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
e3b3a046bf653d39cb5b92534a6a36fce1702d20Bob Halley echo " for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
e3b3a046bf653d39cb5b92534a6a36fce1702d20Bob Halley echo " install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence @tarball=`basename "$@" .gz`; echo "Making tarball $$tarball"; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence $(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
1a7f6c3898266854db100fb2cb36418d650de8e7Brian Wellington @test -d check-used-manpages || mkdir -p "check-used-manpages"
1a7f6c3898266854db100fb2cb36418d650de8e7Brian Wellington @test -d check-all-manpages || mkdir -p "check-all-manpages"
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence $(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence if test -f check-used-manpages/$$base_manpage; then \
9151d6e15cb9c639a3dca083d7f6e9094f6b89caDavid Lawrence echo " "$$base_manpage >> unused-manpages.txt; \
b8dd48ecf83142f6ee7238cbd68fec455e527fc8Mark Andrews @if test -f unused-manpages.txt; then \
b8dd48ecf83142f6ee7238cbd68fec455e527fc8Mark Andrews echo "Following Manpages are not being used in any SUNW package :"; \
68e4926b2262571e004b4be00b905ec776c01d9cMichael Graff echo "All man pages are being used"; \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence @for manpage in $($(subst .PAGES,_PAGES,$<)); do \