Home | History | Annotate | Download | only in manpages
      1 ## 
      2 # Makefile for generateing man page tarballs that are used in each of the 
      3 # SUNW*.spec files
      4 # 
      5 # Generates  : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
      6 #              e.g. sun-manpage-tarballs/*.tar.gz
      7 #
      8 # Usage :
      9 #           "make" : Rebuilds all man page tarballs
     10 #
     11 #           "make check-used" : Outputs list of man pages not being used.
     12 #
     13 #           "make check-version" : Prints current man page tarball version
     14 #
     15 #           "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
     16 #               e.g. "make SUNWgnome-panel-manpages-0.1.tar.gz"
     17 #                    will only generate SUNWgnome-panel's man page tarball
     18 #
     19 # For each package that contains man pages.
     20 #  - Ensure all relevant man pages for your package are located under the 
     21 #    correct man page section dir i.e.
     22 #    entities/man1/man1m/man3/man3tiff/man4/man5
     23 #  - Add Package name to PACKAGES Variable
     24 #    e.g. PACKAGES = \
     25 #             SUNWgnome-panel \
     26 #             SUNWyour-package
     27 #
     28 #  - Add two package specific variables 
     29 #      PACKAGE_PAGES - Full path of all manpages for this package
     30 #                      e.g.  SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
     31 #      PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
     32 #                      e.g.   SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
     33 #
     34 #
     35 # To Add new man pages to existing packages
     36 # -----------------------------------------
     37 # Put very simply, all that is required from engineers is to make some changes 
     38 # and commit in SVN.
     39 #
     40 # - Ensure the man page exists in SVN under the relevant man page section sub 
     41 #   dir
     42 # - Add man page to the SUNW<package>_PAGES Makefile variable
     43 #      e.g. For a new gnome-panel man page it would be added to 
     44 #      SUNWgnome-panel_PAGES
     45 # - Remake tarballs
     46 #      $ make
     47 #   This will re-generate all man page tarballs. 
     48 # - Copy newly generated tarball from sun-manpage-tarballs to package build 
     49 #   sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages 
     50 #   install correctly.
     51 # - New man page tarball will be generated by RE for each nightly, and for each
     52 #   milestone build.
     53 # - Commit change back to subverison, e.g. new/amended man pagees, 
     54 #   Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
     55 #
     56 #
     57 # MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
     58 # branched. PLEASE do not change this.
     59 #
     60 SHELL=/bin/ksh
     61 MANPAGE_VERSION=0.1
     62 MANPAGE_DIR=sun-manpages
     63 TARBALL_DIR=sun-manpage-tarballs
     64 SGML2ROFF=/usr/lib/sgml/sgml2roff
     65 GZIP=/usr/bin/gzip
     66 TAR=/usr/bin/tar
     67 AWK=/usr/bin/awk
     68 MAKE=/usr/sfw/bin/gmake
     69 GREP=/usr/bin/grep
     70 
     71 PACKAGES = \
     72 	SUNWTiff			\
     73 	SUNWbabl			\
     74 	SUNWcheese			\
     75 	SUNWconsolekit			\
     76 	SUNWdesktop-search              \
     77 	SUNWdia				\
     78 	SUNWdbus			\
     79 	SUNWdbus-glib			\
     80 	SUNWdrivel			\
     81 	SUNWespeak			\
     82 	SUNWevolution-libs		\
     83 	SUNWevolution-exchange		\
     84 	SUNWevolution			\
     85 	SUNWevolution-webcal		\
     86 	SUNWevolution-data-server	\
     87 	SUNWfirefox			\
     88 	SUNWfsexam			\
     89 	SUNWgamin			\
     90 	SUNWgegl			\
     91 	SUNWglibmm			\
     92 	SUNWgnome-a11y-dasher		\
     93 	SUNWgnome-a11y-gok		\
     94 	SUNWgnome-a11y-libs		\
     95 	SUNWgnome-a11y-mousetweaks	\
     96 	SUNWgnome-a11y-poke		\
     97 	SUNWgnome-a11y-reader		\
     98 	SUNWgnome-a11y-speech		\
     99 	SUNWgnome-archive-mgr		\
    100 	SUNWgnome-audio			\
    101 	SUNWglib2			\
    102 	SUNWcairo			\
    103 	SUNWpango			\
    104 	SUNWlibatk			\
    105 	SUNWgtk2			\
    106 	SUNWlibglade			\
    107 	SUNWlibart			\
    108 	SUNWlibgnomecanvas		\
    109 	SUNWgnome-base-libs-java	\
    110 	SUNWgnome-calculator		\
    111 	SUNWgnome-camera		\
    112 	SUNWgnome-cd			\
    113 	SUNWgnome-character-map		\
    114 	SUNWgnome-common-devel		\
    115 	SUNWgnome-component		\
    116 	SUNWgnome-config-editor		\
    117 	SUNWgnome-config		\
    118 	SUNWgnome-crash-report		\
    119 	SUNWgnome-desktop-prefs		\
    120 	SUNWgnome-devhelp		\
    121 	SUNWgnome-dialog		\
    122 	SUNWgnome-display-mgr		\
    123 	SUNWgnome-file-mgr		\
    124 	SUNWgnome-games			\
    125 	SUNWgnome-gtksourceview		\
    126 	SUNWgnome-gvfs			\
    127 	SUNWgnome-help-viewer		\
    128 	SUNWgnome-hex-editor		\
    129 	SUNWgnome-im-client		\
    130 	SUNWgnome-img-viewer		\
    131 	SUNWgnome-libs			\
    132 	SUNWgnome-media-apps		\
    133 	SUNWgnome-media-player		\
    134 	SUNWgnome-media			\
    135 	SUNWgnome-meeting		\
    136 	SUNWgnome-menu-editor		\
    137 	SUNWgnome-nettool		\
    138 	SUNWgnome-panel			\
    139 	SUNWgnome-pdf-viewer		\
    140 	SUNWgnome-pilot			\
    141 	SUNWgnome-power-manager		\
    142 	SUNWgnome-print			\
    143 	SUNWgnome-remote-desktop	\
    144 	SUNWgnome-removable-media	\
    145 	SUNWgnome-session		\
    146 	SUNWgnome-spell			\
    147 	SUNWgnome-system-tools		\
    148 	SUNWgnome-system-monitor	\
    149 	SUNWgnome-terminal		\
    150 	SUNWgnome-text-editor		\
    151 	SUNWgnome-ui-designer		\
    152 	SUNWgnome-utils			\
    153 	SUNWgnome-vfs			\
    154 	SUNWgnome-wm			\
    155 	SUNWgnutls			\
    156 	SUNWgtkmm			\
    157 	SUNWgtkspell			\
    158 	SUNWgtk-vnc			\
    159 	SUNWjpg				\
    160 	SUNWlibcanberra			\
    161 	SUNWlibcroco			\
    162 	SUNWlibgcrypt			\
    163 	SUNWlibgmime			\
    164 	SUNWlibgpg-error		\
    165 	SUNWlibgsf			\
    166 	SUNWlibgtop			\
    167 	SUNWlibical			\
    168 	SUNWliboil			\
    169 	SUNWlibpopt			\
    170 	SUNWlibproxy			\
    171 	SUNWlibrsvg			\
    172 	SUNWlibsoup			\
    173 	SUNWlibtasn1			\
    174 	SUNWnwam-manager		\
    175 	SUNWogg-vorbis			\
    176 	SUNWpangomm			\
    177 	SUNWpilot-link			\
    178 	SUNWpng				\
    179 	SUNWprint-monitor		\
    180 	SUNWrealplayer			\
    181 	SUNWseahorse			\
    182 	SUNWsigcpp			\
    183 	SUNWthunderbird		        \
    184 	SUNWvinagre			\
    185 	SUNWlibunique			\
    186 	SUNWvirt-manager		\
    187 	SUNWw3m				\
    188 	SUNWxdg-user-dirs		\
    189 	SUNWxdg-user-dirs-gtk           \
    190         SUNWlibpigment                  \
    191         SUNWflac                        \
    192         SUNWspeex                       \
    193         SUNWlibtheora         
    194 
    195 all: TARBALLS
    196 
    197 SUNWTiff_PAGES =					\
    198 	man1/fax2ps.1					\
    199 	man1/fax2tiff.1					\
    200 	man1/gif2tiff.1					\
    201 	man1/pal2rgb.1					\
    202 	man1/ppm2tiff.1					\
    203 	man1/ras2tiff.1					\
    204 	man1/rgb2ycbcr.1				\
    205 	man1/thumbnail.1				\
    206 	man1/tiff2bw.1					\
    207 	man1/tiff2ps.1					\
    208 	man1/tiffcmp.1					\
    209 	man1/tiffcp.1					\
    210 	man1/tiffdither.1				\
    211 	man1/tiffdump.1					\
    212 	man1/tiffinfo.1					\
    213 	man1/tiffmedian.1				\
    214 	man1/tiffsplit.1				\
    215 	man3/libtiff.3					\
    216 	man3tiff/TIFFCheckTile.3tiff			\
    217 	man3tiff/TIFFClientOpen.3tiff			\
    218 	man3tiff/TIFFClose.3tiff			\
    219 	man3tiff/TIFFComputeStrip.3tiff			\
    220 	man3tiff/TIFFComputeTile.3tiff			\
    221 	man3tiff/TIFFCurrentDirectory.3tiff		\
    222 	man3tiff/TIFFCurrentRow.3tiff			\
    223 	man3tiff/TIFFCurrentStrip.3tiff			\
    224 	man3tiff/TIFFCurrentTile.3tiff			\
    225 	man3tiff/TIFFDefaultStripSize.3tiff		\
    226 	man3tiff/TIFFDefaultTileSize.3tiff		\
    227 	man3tiff/TIFFError.3tiff			\
    228 	man3tiff/TIFFFdOpen.3tiff			\
    229 	man3tiff/TIFFFileName.3tiff			\
    230 	man3tiff/TIFFFileno.3tiff			\
    231 	man3tiff/TIFFFindCODEC.3tiff			\
    232 	man3tiff/TIFFFlush.3tiff			\
    233 	man3tiff/TIFFFlushData.3tiff			\
    234 	man3tiff/TIFFGetBitRevTable.3tiff		\
    235 	man3tiff/TIFFGetField.3tiff			\
    236 	man3tiff/TIFFGetFieldDefaulted.3tiff		\
    237 	man3tiff/TIFFGetMode.3tiff			\
    238 	man3tiff/TIFFGetVersion.3tiff			\
    239 	man3tiff/TIFFIsByteSwapped.3tiff		\
    240 	man3tiff/TIFFIsMSB2LSB.3tiff			\
    241 	man3tiff/TIFFIsTiled.3tiff			\
    242 	man3tiff/TIFFIsUpSampled.3tiff			\
    243 	man3tiff/TIFFLastDirectory.3tiff		\
    244 	man3tiff/TIFFNumberOfStrips.3tiff		\
    245 	man3tiff/TIFFNumberOfTiles.3tiff		\
    246 	man3tiff/TIFFOpen.3tiff				\
    247 	man3tiff/TIFFPrintDirectory.3tiff		\
    248 	man3tiff/TIFFRGBAImage.3tiff			\
    249 	man3tiff/TIFFRGBAImageBegin.3tiff		\
    250 	man3tiff/TIFFRGBAImageEnd.3tiff			\
    251 	man3tiff/TIFFRGBAImageGet.3tiff			\
    252 	man3tiff/TIFFRGBAImageOK.3tiff			\
    253 	man3tiff/TIFFRGBAImageOriented.3tiff		\
    254 	man3tiff/TIFFRasterScanlineSize.3tiff		\
    255 	man3tiff/TIFFReadBufferSetup.3tiff		\
    256 	man3tiff/TIFFReadDirectory.3tiff		\
    257 	man3tiff/TIFFReadEncodedStrip.3tiff		\
    258 	man3tiff/TIFFReadEncodedTile.3tiff		\
    259 	man3tiff/TIFFReadRGBAImage.3tiff		\
    260 	man3tiff/TIFFReadRGBAStrip.3tiff		\
    261 	man3tiff/TIFFReadRGBATile.3tiff			\
    262 	man3tiff/TIFFReadRawStrip.3tiff			\
    263 	man3tiff/TIFFReadRawTile.3tiff			\
    264 	man3tiff/TIFFReadScanline.3tiff			\
    265 	man3tiff/TIFFReadTile.3tiff			\
    266 	man3tiff/TIFFRegisterCODEC.3tiff		\
    267 	man3tiff/TIFFReverseBits.3tiff			\
    268 	man3tiff/TIFFScanlineSize.3tiff			\
    269 	man3tiff/TIFFSetDirectory.3tiff			\
    270 	man3tiff/TIFFSetErrorHandler.3tiff		\
    271 	man3tiff/TIFFSetField.3tiff			\
    272 	man3tiff/TIFFSetSubDirectory.3tiff		\
    273 	man3tiff/TIFFSetWarningHandler.3tiff		\
    274 	man3tiff/TIFFStripSize.3tiff			\
    275 	man3tiff/TIFFSwabArrayOfLong.3tiff		\
    276 	man3tiff/TIFFSwabArrayOfShort.3tiff		\
    277 	man3tiff/TIFFSwabLong.3tiff			\
    278 	man3tiff/TIFFSwabShort.3tiff			\
    279 	man3tiff/TIFFTileRowSize.3tiff			\
    280 	man3tiff/TIFFTileSize.3tiff			\
    281 	man3tiff/TIFFUnRegisterCODEC.3tiff		\
    282 	man3tiff/TIFFVGetField.3tiff			\
    283 	man3tiff/TIFFVGetFieldDefaulted.3tiff		\
    284 	man3tiff/TIFFVSetField.3tiff			\
    285 	man3tiff/TIFFVStripSize.3tiff			\
    286 	man3tiff/TIFFVTileSize.3tiff			\
    287 	man3tiff/TIFFWarning.3tiff			\
    288 	man3tiff/TIFFWriteBufferSetup.3tiff		\
    289 	man3tiff/TIFFWriteDirectory.3tiff		\
    290 	man3tiff/TIFFWriteEncodedStrip.3tiff		\
    291 	man3tiff/TIFFWriteEncodedTile.3tiff		\
    292 	man3tiff/TIFFWriteRawStrip.3tiff		\
    293 	man3tiff/TIFFWriteRawTile.3tiff			\
    294 	man3tiff/TIFFWriteScanline.3tiff		\
    295 	man3tiff/TIFFWriteTile.3tiff			\
    296 	man3tiff/TIFFbuffer.3tiff			\
    297 	man3tiff/TIFFcodec.3tiff			\
    298 	man3tiff/TIFFmemory.3tiff			\
    299 	man3tiff/TIFFquery.3tiff			\
    300 	man3tiff/TIFFsize.3tiff				\
    301 	man3tiff/TIFFstrip.3tiff			\
    302 	man3tiff/TIFFswab.3tiff				\
    303 	man3tiff/TIFFtile.3tiff				\
    304 	man3tiff/_TIFFfree.3tiff			\
    305 	man3tiff/_TIFFmalloc.3tiff			\
    306 	man3tiff/_TIFFmemcmp.3tiff			\
    307 	man3tiff/_TIFFmemcpy.3tiff			\
    308 	man3tiff/_TIFFmemset.3tiff			\
    309 	man3tiff/_TIFFrealloc.3tiff
    310 SUNWTiff.PAGES: $(SUNWTiff_PAGES)
    311 
    312 SUNWcheese_PAGES = 	\
    313 	man1/cheese.1
    314 SUNWcheese.PAGES: $(SUNWcheese_PAGES)
    315 
    316 SUNWconsolekit_PAGES =	\
    317 	man1/ck-history.1		\
    318 	man1/ck-launch-session.1	\
    319 	man1/ck-list-sessions.1		\
    320 	man1m/ck-seat-tool.1m		\
    321 	man1m/console-kit-daemon.1m
    322 SUNWconsolekit.PAGES: $(SUNWconsolekit_PAGES)
    323 
    324 SUNWdbus_PAGES =	\
    325 	man1/dbus-cleanup-sockets.1	\
    326 	man1/dbus-daemon.1		\
    327 	man1/dbus-launch.1		\
    328 	man1/dbus-monitor.1		\
    329 	man1/dbus-send.1		\
    330 	man1/dbus-uuidgen.1		\
    331 	man3/libdbus-1.3
    332 SUNWdbus.PAGES: $(SUNWdbus_PAGES)
    333 
    334 SUNWdbus-glib_PAGES =			\
    335 	man1/dbus-binding-tool.1	\
    336 	man3/libdbus-glib-1.3
    337 SUNWdbus-glib.PAGES: $(SUNWdbus-glib_PAGES)
    338 
    339 SUNWevolution-libs_PAGES = \
    340     man1/gtkhtml-editor-test.1 \
    341 	man3/libgtkhtml-editor.3 \
    342 	man3/libgtkhtml-3.14.3
    343 SUNWevolution-libs.PAGES: $(SUNWevolution-libs_PAGES)
    344 
    345 SUNWevolution-exchange_PAGES =				\
    346 	man1/exchange-connector-setup.1
    347 SUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
    348 
    349 SUNWevolution_PAGES =		\
    350 	man1/evolution.1	
    351 SUNWevolution.PAGES: $(SUNWevolution_PAGES)
    352 
    353 SUNWevolution-data-server_PAGES =	\
    354 	man3/libedata-book-1.2.3	\
    355 	man3/libedata-cal-1.2.3		\
    356 	man3/libedataserver-1.2.3	\
    357 	man3/libedataserverui-1.2.3    \
    358 	man3/libcamel-1.2.3	\
    359 	man3/libgdata-google-1.2.3	\
    360 	man3/libebook-1.2.3	\
    361 	man3/libgdata-1.2.3 \
    362 	man3/libecal-1.2.3
    363 SUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
    364 
    365 SUNWevolution-webcal_PAGES =				\
    366 	man1/evolution-webcal.1
    367 SUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
    368 
    369 SUNWfirefox_PAGES =	\
    370 	man1/firefox.1
    371 SUNWfirefox.PAGES: $(SUNWfirefox_PAGES)
    372 
    373 SUNWgnome-a11y-dasher_PAGES =			\
    374 	man1/dasher.1
    375 SUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
    376 
    377 SUNWgnome-a11y-gok_PAGES =			\
    378 	man1/create-branching-keyboard.1	\
    379 	man1/gok.1
    380 SUNWgnome-a11y-gok.PAGES: $(SUNWgnome-a11y-gok_PAGES)
    381 
    382 SUNWgnome-a11y-libs_PAGES =		\
    383 	man1/magnifier.1		\
    384 	man1/at-spi-registryd.1		\
    385 	man3/at-spi.3			\
    386 	man3/libspi.3			\
    387 	man3/libloginhelper.3		\
    388 	man3/libgnome-mag.3		\
    389 	man3/libcspi.3
    390 SUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
    391 
    392 SUNWgnome-a11y-mousetweaks_PAGES =	\
    393 	man1/mousetweaks.1		\
    394 	man1/dwell-click-applet.1	\
    395 	man1/pointer-capture-applet.1
    396 SUNWgnome-a11y-mousetweaks.PAGES: $(SUNWgnome-a11y-mousetweaks_PAGES)
    397 
    398 SUNWgnome-a11y-reader_PAGES =	\
    399 	man1/orca.1
    400 SUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
    401 
    402 SUNWgnome-a11y-speech_PAGES =		\
    403 	man1/test-speech.1		\
    404 	man1/espeak-synthesis-driver.1	\
    405 	man3/libgnomespeech.3	
    406 SUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
    407 
    408 SUNWgnome-a11y-poke_PAGES =	\
    409 	man1/accerciser.1
    410 SUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
    411 
    412 SUNWgnome-archive-mgr_PAGES =	\
    413 	man1/file-roller.1
    414 SUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
    415 
    416 SUNWgnome-audio_PAGES =			\
    417 	man1/audiofile-config.1		\
    418 	man1/esd-config.1		\
    419 	man1/esdcat.1			\
    420 	man1/esdctl.1			\
    421 	man1/esdmon.1			\
    422 	man1/esdplay.1			\
    423 	man1/esdrec.1			\
    424 	man1/esdsample.1		\
    425 	man3/libaudiofile.3		\
    426 	man3/libesd.3
    427 SUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
    428 
    429 SUNWglib2_PAGES =				\
    430 	man1/glib-genmarshal.1			\
    431 	man1/glib-gettextize.1			\
    432 	man1/glib-mkenums.1			\
    433 	man1/gobject-query.1			\
    434 	man3/libgio-2.0.3			\
    435 	man3/libglib-2.0.3			\
    436 	man3/libgmodule-2.0.3			\
    437 	man3/libgobject-2.0.3			\
    438 	man3/libgthread-2.0.3			\
    439 	man5/gnome-interfaces.5			\
    440 	entities/gnomecommon.ent
    441 SUNWglib2.PAGES: $(SUNWglib2_PAGES)
    442 
    443 SUNWcairo_PAGES =				\
    444 	man3/libcairo.3
    445 SUNWcairo.PAGES: $(SUNWcairo_PAGES)
    446 
    447 SUNWpango_PAGES =				\
    448 	man1/pango-querymodules.1		\
    449 	man3/libpango-1.0.3			\
    450 	man3/libpangocairo-1.0.3		\
    451 	man3/libpangoft2-1.0.3			\
    452 	man3/libpangoxft-1.0.3			\
    453 	man3/libpangox-1.0.3
    454 SUNWpango.PAGES: $(SUNWpango_PAGES)
    455 
    456 SUNWlibatk_PAGES =				\
    457 	man3/libatk-1.0.3
    458 SUNWlibatk.PAGES: $(SUNWlibatk_PAGES)
    459 
    460 SUNWgtk2_PAGES =				\
    461 	man1/gdk-pixbuf-csource.1		\
    462 	man1/gdk-pixbuf-query-loaders.1		\
    463 	man1/gtk-query-immodules-2.0.1		\
    464 	man1/gtk-update-icon-cache.1		\
    465 	man1/gtk-builder-convert.1		\
    466 	man3/libgailutil.3			\
    467 	man3/libgdk-x11-2.0.3			\
    468 	man3/libgdk_pixbuf-2.0.3		\
    469 	man3/libgdk_pixbuf_xlib-2.0.3		\
    470 	man3/libgtk-x11-2.0.3
    471 SUNWgtk2.PAGES: $(SUNWgtk2_PAGES)
    472 
    473 SUNWlibglade_PAGES =				\
    474 	man3/libglade-2.0.3
    475 SUNWlibglade.PAGES: $(SUNWlibglade_PAGES)
    476 
    477 SUNWlibart_PAGES =				\
    478 	man1/libart2-config.1			\
    479 	man3/libart_lgpl_2.3
    480 SUNWlibart.PAGES: $(SUNWlibart_PAGES)
    481 
    482 SUNWlibgnomecanvas_PAGES =			\
    483 	man3/libgnomecanvas-2.3
    484 SUNWlibgnomecanvas.PAGES: $(SUNWlibgnomecanvas_PAGES)
    485 
    486 SUNWgnome-base-libs-java_PAGES =		\
    487 	man3/java-gnome.3
    488 SUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
    489 
    490 SUNWgnome-calculator_PAGES =	\
    491 	man1/gcalctool.1			\
    492 	man1/gnome-calculator.1
    493 SUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
    494 
    495 SUNWgnome-cd_PAGES =	\
    496 	man1/gnome-cd.1 \
    497 	man1/sound-juicer.1
    498 SUNWgnome-cd.PAGES: $(SUNWgnome-cd_PAGES)
    499 
    500 SUNWgnome-character-map_PAGES =	\
    501 	man1/charmap.1				\
    502 	man1/gucharmap.1			\
    503 	man1/gnome-character-map.1
    504 SUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
    505 
    506 SUNWgnome-common-devel_PAGES =	\
    507 	man1/intltool-extract.1		\
    508 	man1/intltool-merge.1		\
    509 	man1/intltool-prepare.1		\
    510 	man1/intltool-update.1		\
    511 	man1/intltoolize.1		\
    512 	man1/pkg-config.1
    513 SUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
    514 
    515 SUNWgnome-component_PAGES =			\
    516 	man1/orbit-idl-2.1			\
    517 	man1/activation-client.1		\
    518 	man1/orbit2-config.1			\
    519 	man1/bonobo-slay.1			\
    520 	man3/libORBit-2.3			\
    521 	man3/libbonobo-activation.3		\
    522 	man3/libIDL-2.3				\
    523 	man3/libbonobo-2.3			\
    524 	man3/libORBitCosNaming-2.3
    525 SUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
    526 
    527 SUNWgnome-config-editor_PAGES =	\
    528 	man1/gconf-editor.1
    529 SUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
    530 
    531 SUNWgnome-config_PAGES =	\
    532 	man1/gconftool-2.1	\
    533 	man3/libgconf-2.3
    534 SUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
    535 
    536 SUNWgnome-crash-report_PAGES =	\
    537 	man1/bug-buddy.1
    538 SUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
    539 
    540 SUNWgnome-desktop-prefs_PAGES =				\
    541 	man1/update-desktop-database.1			\
    542 	man1/gnome-about-me.1				\
    543 	man1/gnome-appearance-properties.1		\
    544 	man1/gnome-at-properties.1			\
    545 	man1/gnome-control-center.1			\
    546 	man1/gnome-default-applications-properties.1	\
    547 	man1/gnome-display-properties.1			\
    548 	man1/gnome-keybinding-properties.1		\
    549 	man1/gnome-keyboard-properties.1		\
    550 	man1/gnome-mouse-properties.1			\
    551 	man1/gnome-network-properties.1			\
    552 	man1/gnome-window-properties.1			\
    553 	man1/gnome-font-viewer.1
    554 SUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
    555 
    556 SUNWgnome-dialog_PAGES =	\
    557 	man1/zenity.1		\
    558 	man1/gdialog.1
    559 SUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
    560 
    561 SUNWgnome-display-mgr_PAGES =		\
    562 	man1/gdmdynamic.1		\
    563 	man1/gdmflexiserver.1		\
    564 	man1/gdm-screenshot.1		\
    565 	man1m/gdm.1m			\
    566 	man1m/gdm-binary.1m		\
    567 	man1m/gdm-stop.1m
    568 SUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
    569 
    570 SUNWgnome-file-mgr_PAGES =				\
    571 	man1/nautilus.1					\
    572 	man1/nautilus-file-management-properties.1
    573 SUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
    574 
    575 SUNWgnome-gtksourceview_PAGES =	\
    576 	man3/libgtksourceview-1.0.3 \
    577 	man3/libgtksourceview-2.0.3 
    578 SUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
    579 
    580 SUNWgnome-gvfs_PAGES =	\
    581 	man1/gvfs-cat.1	\
    582 	man1/gvfs-copy.1	\
    583 	man1/gvfs-info.1	\
    584 	man1/gvfs-less.1	\
    585 	man1/gvfs-ls.1	\
    586 	man1/gvfs-mkdir.1	\
    587 	man1/gvfs-monitor-dir.1	\
    588 	man1/gvfs-monitor-file.1	\
    589 	man1/gvfs-mount.1	\
    590 	man1/gvfs-move.1	\
    591 	man1/gvfs-rename.1	\
    592 	man1/gvfs-open.1	\
    593 	man1/gvfs-rm.1	\
    594 	man1/gvfs-save.1	\
    595 	man1/gvfs-trash.1	\
    596 	man1/gvfs-tree.1
    597 SUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
    598 
    599 SUNWgnome-help-viewer_PAGES =	\
    600 	man1/gnome-help.1	\
    601 	man1/yelp.1
    602 SUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
    603 
    604 SUNWgnome-hex-editor_PAGES =	\
    605 	man1/ghex2.1
    606 SUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
    607 
    608 SUNWgnome-im-client_PAGES =	\
    609 	man1/pidgin.1							\
    610 	man1/purple-remote.1			\
    611 	man1/purple-send.1				\
    612 	man1/purple-send-async.1	\
    613 	man1/purple-url-handler.1	\
    614 	man1/otr_mackey.1					\
    615 	man1/otr_modify.1					\
    616 	man1/otr_parse.1					\
    617 	man1/otr_readforge.1			\
    618 	man1/otr_remac.1					\
    619 	man1/otr_sesskeys.1       \
    620 	man3/libpurple.3			    \
    621 	man3/libpurple-client.3		\
    622 	man3/libotr.3
    623 
    624 SUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
    625 
    626 SUNWgnome-meeting_PAGES = \
    627   man1/ekiga.1
    628 SUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
    629 
    630 SUNWgnome-img-viewer_PAGES =	\
    631 	man1/eog.1
    632 SUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
    633 
    634 SUNWgnome-libs_PAGES =					\
    635 	man1/scrollkeeper-config.1			\
    636 	man1/scrollkeeper-devel.1			\
    637 	man1/scrollkeeper-extract.1			\
    638 	man1/scrollkeeper-gen-seriesid.1		\
    639 	man1/scrollkeeper-get-cl.1			\
    640 	man1/scrollkeeper-get-content-list.1		\
    641 	man1/scrollkeeper-get-extended-content-list.1	\
    642 	man1/scrollkeeper-get-index-from-docpath.1	\
    643 	man1/scrollkeeper-get-toc-from-docpath.1	\
    644 	man1/scrollkeeper-get-toc-from-id.1		\
    645 	man1/scrollkeeper-install.1			\
    646 	man1/scrollkeeper-preinstall.1			\
    647 	man1/scrollkeeper-rebuilddb.1			\
    648 	man1/scrollkeeper-uninstall.1			\
    649 	man1/scrollkeeper-update.1			\
    650 	man1/scrollkeeper.1				\
    651 	man1/gnome-open.1				\
    652 	man1/gnome-keyring-daemon.1			\
    653 	man3/libbonoboui-2.3				\
    654 	man3/libgnome-2.3				\
    655 	man3/libgnomeui-2.3				\
    656 	man3/libgnome-keyring.3
    657 SUNWgnome-libs.PAGES: $(SUNWgnome-libs_PAGES)
    658 
    659 SUNWgnome-media-apps_PAGES =			\
    660 	man1/gnome-sound-recorder.1		\
    661 	man1/gnome-audio-profiles-properties.1	\
    662 	man1/gnome-volume-control.1		\
    663 	man1/gstreamer-properties.1             \
    664 	man3/libgnome-media-profiles.3
    665 SUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
    666 
    667 SUNWgnome-media-player_PAGES =	       \
    668 	man1/rhythmbox.1               \
    669 	man1/rhythmbox-client.1        \
    670 	man1/totem.1                   \
    671 	man1/totem-audio-preview.1     \
    672 	man1/totem-video-indexer.1     \
    673 	man1/totem-video-thumbnailer.1
    674 SUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
    675 
    676 SUNWgnome-media_PAGES =			\
    677 	man1/gst-feedback.1		\
    678 	man1/gst-inspect.1		\
    679 	man1/gst-launch.1		\
    680 	man1/gst-typefind.1		\
    681 	man1/gst-xmlinspect.1		\
    682 	man1/gst-xmllaunch.1		\
    683 	man3/libgstreamer-0.10.3	\
    684 	man3/libgstbase-0.10.3		\
    685 	man5/gst-std-options.5
    686 SUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
    687 
    688 SUNWgnome-menu-editor_PAGES =		\
    689 	man1/alacarte.1
    690 SUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
    691 
    692 SUNWgnome-panel_PAGES =				\
    693 	man1/gnome-about.1			\
    694 	man1/gnome-desktop-item-edit.1		\
    695 	man1/gnome-panel.1			\
    696 	man1/notify-send.1			\
    697 	man1/gnome-cleanup.1			\
    698 	man3/libgnome-desktop-2.3		\
    699 	man3/libpanel-applet-2.3		\
    700 	man3/libnotify.3		\
    701 	man5/gnome-std-options.5
    702 SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
    703 
    704 SUNWgnome-pdf-viewer_PAGES =	\
    705 	man1/evince.1 \
    706 	man1/gpdf.1 \
    707 	man1/ggv.1
    708 SUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
    709 
    710 SUNWgnome-pilot_PAGES =			\
    711 	man1/gpilot-install-file.1	\
    712 	man1/gpilotd-control-applet.1   \
    713 	man1/gpilotd.1                  \
    714 	man3/libgpilotd.3		\
    715 	man3/libgpilotdcm.3		\
    716 	man3/libgpilotdconduit.3		
    717 SUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
    718 
    719 SUNWpilot-link_PAGES =			\
    720 	man3/libpisock.3		\
    721 	man3/libpisync.3		
    722 SUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
    723 
    724 SUNWgnome-print_PAGES =			\
    725 	man1/gnome-printinfo.1		\
    726 	man3/libgnomeprint-2-2.3	\
    727 	man3/libgnomeprintui-2-2.3
    728 SUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
    729 
    730 SUNWgnome-removable-media_PAGES =	\
    731 	man1/gnome-volcheck.1
    732 SUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
    733 
    734 SUNWgnome-remote-desktop_PAGES = 	\
    735 	man1/vino-server.1		\
    736 	man1/vino-passwd.1		\
    737 	man1/vino-preferences.1
    738 SUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
    739 
    740 SUNWgnome-session_PAGES =			\
    741 	man1/gnome-session.1			\
    742 	man1/gnome-session-properties.1		\
    743 	man1/gnome-session-save.1		\
    744 	man1/gnome-wm.1
    745 SUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
    746 
    747 SUNWgnome-system-tools_PAGES =	\
    748 	man1/network-admin.1 	\
    749 	man1/services-admin.1 	\
    750 	man1/shares-admin.1 	\
    751 	man1/time-admin.1 	\
    752 	man1/users-admin.1
    753 SUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
    754 
    755 SUNWgnome-system-monitor_PAGES =	\
    756 	man1/gnome-system-monitor.1
    757 SUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
    758 
    759 SUNWgnome-terminal_PAGES =	\
    760 	man1/gnome-terminal.1	\
    761 	man1/vte.1		\
    762 	man3/libvte.3
    763 SUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
    764 
    765 SUNWgnome-text-editor_PAGES =	\
    766 	man1/gedit.1		\
    767 	man1/gnome-text-editor.1
    768 SUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
    769 
    770 SUNWgnome-ui-designer_PAGES =	\
    771 	man1/glade-3.1
    772 SUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
    773 
    774 SUNWgnome-utils_PAGES =				\
    775 	man1/gnome-dictionary.1			\
    776 	man1/gnome-search-tool.1		\
    777 	man1/gnome-panel-screenshot.1		\
    778 	man1/gnome-screenshot.1
    779 
    780 SUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
    781 
    782 SUNWgnome-vfs_PAGES =			\
    783 	man1/gnomevfs-cat.1		\
    784 	man1/gnomevfs-copy.1		\
    785 	man1/gnomevfs-info.1		\
    786 	man1/gnomevfs-ls.1		\
    787 	man1/gnomevfs-mkdir.1		\
    788 	man1/update-mime-database.1	\
    789 	man3/libgnomevfs-2.3		\
    790 	man4/gnome-vfs-mime-magic.4	\
    791 	man4/gnome-vfs.applications.4	\
    792 	man4/gnome-vfs.keys.4		\
    793 	man4/gnome-vfs.mime.4
    794 SUNWgnome-vfs.PAGES: $(SUNWgnome-vfs_PAGES)
    795 
    796 SUNWgnome-wm_PAGES =			\
    797 	man1/metacity.1			\
    798 	man1/metacity-message.1		\
    799 	man1/metacity-theme-viewer.1
    800 SUNWgnome-wm.PAGES: $(SUNWgnome-wm_PAGES)
    801 
    802 SUNWjpg_PAGES =			\
    803 	man1/cjpeg.1		\
    804 	man1/djpeg.1		\
    805 	man1/jpegtran.1		\
    806 	man1/rdjpgcom.1		\
    807 	man1/wrjpgcom.1		\
    808 	man3/libjpeg.3
    809 SUNWjpg.PAGES: $(SUNWjpg_PAGES)
    810 
    811 SUNWlibical_PAGES =		\
    812 	man3/libical.3		\
    813 	man3/libicalss.3	\
    814 	man3/libicalvcal.3
    815 SUNWlibical.PAGES: $(SUNWlibical_PAGES)
    816 
    817 SUNWlibpopt_PAGES =	\
    818 	man3/libpopt.3
    819 SUNWlibpopt.PAGES: $(SUNWlibpopt_PAGES)
    820 
    821 SUNWlibrsvg_PAGES =		\
    822 	man1/rsvg.1		\
    823 	man3/librsvg-2.3
    824 SUNWlibrsvg.PAGES: $(SUNWlibrsvg_PAGES)
    825 
    826 SUNWogg-vorbis_PAGES =		\
    827 	man3/libogg.3		\
    828 	man3/libvorbis.3
    829 SUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
    830 
    831 SUNWpng_PAGES =			\
    832 	man3/libpng.3		\
    833 	man3/libpngpf.3		\
    834 	man4/png.4
    835 SUNWpng.PAGES: $(SUNWpng_PAGES)
    836 
    837 SUNWrealplayer_PAGES =	\
    838 	man1/realplay.1
    839 SUNWrealplayer.PAGES: $(SUNWrealplayer_PAGES)
    840 
    841 SUNWthunderbird_PAGES =	\
    842 	man1/thunderbird.1
    843 SUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
    844 
    845 SUNWgnome-devhelp_PAGES =   	\
    846 	man1/devhelp.1		\
    847 	man3/libdevhelp-1.3
    848 
    849 SUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
    850 
    851 SUNWgnome-power-manager_PAGES =   \
    852 	man1/gnome-power-manager.1	\
    853 	man1/gnome-power-preferences.1	\
    854 	man1/gnome-power-statistics.1
    855 SUNWgnome-power-manager.PAGES: $(SUNWgnome-power-manager_PAGES)
    856 
    857 SUNWfsexam_PAGES =   	\
    858 	man1/fsexam.1	\
    859 	man4/fsexam.4
    860 SUNWfsexam.PAGES: $(SUNWfsexam_PAGES)
    861 
    862 SUNWprint-monitor_PAGES =   \
    863 	man1/ospm-pm.1 \
    864 	man1/ospm-preferences.1
    865 SUNWprint-monitor.PAGES: $(SUNWprint-monitor_PAGES)
    866 
    867 SUNWvirt-manager_PAGES =   \
    868         man1/virt-manager.1
    869 SUNWvirt-manager.PAGES: $(SUNWvirt-manager_PAGES)
    870 
    871 SUNWgnome-games_PAGES =    	\
    872 	man3/libggz.3		\
    873 	man3/libggzcore.3	\
    874 	man3/libggzmod.3
    875 SUNWgnome-games.PAGES: $(SUNWgnome-games_PAGES)
    876 
    877 SUNWxdg-user-dirs_PAGES =   \
    878 		man1/xdg-user-dir.1 \
    879 		man1/xdg-user-dirs-update.1
    880 
    881 SUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
    882 
    883 SUNWxdg-user-dirs-gtk_PAGES =   \
    884 		man1/xdg-user-dirs-gtk-update.1
    885 SUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
    886 
    887 SUNWgamin_PAGES =   \
    888 		man1/gam_server.1	\
    889 		man3/libgamin-1.3
    890 SUNWgamin.PAGES: $(SUNWgamin_PAGES)
    891 
    892 SUNWlibtasn1_PAGES =   \
    893 		man3/libtasn1.3	
    894 SUNWlibtasn1.PAGES: $(SUNWlibtasn1_PAGES)
    895 
    896 SUNWlibgmime_PAGES = \
    897                 man3/libgmime.3
    898 
    899 SUNWlibgmime.PAGES: $(SUNWlibgmime_PAGES)
    900 
    901 SUNWliboil_PAGES = 	\
    902 	man1/oil-bugreport.1 \
    903 	man3/liboil-0.3.3
    904 SUNWliboil.PAGES: $(SUNWliboil_PAGES)
    905 
    906 SUNWgnome-spell_PAGES =   \
    907 		man1/enchant.1 \
    908 		man1/enchant-lsmod.1 \
    909         man3/libenchant.3      
    910 SUNWgnome-spell.PAGES: $(SUNWgnome-spell_PAGES)
    911 SUNWlibgtop_PAGES =   \
    912         man3/libgtop-2.0.3      
    913 SUNWlibgtop.PAGES: $(SUNWlibgtop_PAGES)
    914 
    915 SUNWglibmm_PAGES =   \
    916 	man3/libgiomm-2.4.3			\
    917 	man3/libglibmm-2.4.3			
    918 SUNWglibmm.PAGES: $(SUNWglibmm_PAGES)
    919 
    920 SUNWsigcpp_PAGES =   \
    921 	man3/libsigc-2.0.3
    922 SUNWsigcpp.PAGES: $(SUNWsigcpp_PAGES)
    923 
    924 SUNWlibsoup_PAGES =   \
    925         man3/libsoup-2.4.3
    926 SUNWlibsoup.PAGES: $(SUNWlibsoup_PAGES)
    927 
    928 SUNWlibproxy_PAGES = \
    929 	man3/libproxy.3
    930 SUNWlibproxy.PAGES: $(SUNWlibproxy_PAGES)
    931 
    932 SUNWgnutls_PAGES =   \
    933 		man3/libgnutls.3 \
    934         man3/libgnutlsxx.3      
    935 SUNWgnutls.PAGES: $(SUNWgnutls_PAGES)
    936 
    937 SUNWlibcanberra_PAGES =   \
    938 		man1/canberra-gtk-play.1 \
    939 		man3/libcanberra.3 \
    940 		man3/libcanberra-gtk.3
    941 SUNWlibcanberra.PAGES: $(SUNWlibcanberra_PAGES)
    942 
    943 SUNWlibcroco_PAGES =   \
    944 		man1/croco-0.6-config.1 \
    945 		man1/csslint-0.6.1 \
    946 		man3/libcroco-0.6.3
    947 SUNWlibcroco.PAGES: $(SUNWlibcroco_PAGES)
    948 
    949 SUNWlibgcrypt_PAGES =   \
    950 		man1/libgcrypt-config.1 \
    951 		man1/dumpsexp.1 \
    952 		man3/libgcrypt.3 
    953 SUNWlibgcrypt.PAGES: $(SUNWlibgcrypt_PAGES)
    954 
    955 SUNWlibgpg-error_PAGES =   \
    956 		man1/gpg-error-config.1 \
    957 		man1/gpg-error.1 \
    958 		man3/libgpg-error.3 
    959 SUNWlibgpg-error.PAGES: $(SUNWlibgpg-error_PAGES)
    960 
    961 SUNWgnome-camera_PAGES =   \
    962 		man1/gphoto2-config.1 \
    963 		man1/gphoto2-port-config.1 \
    964 		man1/gexif.1
    965 SUNWgnome-camera.PAGES: $(SUNWgnome-camera_PAGES)
    966 
    967 SUNWgtkspell_PAGES =	\
    968 		man3/libgtkspell.3
    969 SUNWgtkspell.PAGES: $(SUNWgtkspell_PAGES)
    970 
    971 SUNWgtkmm_PAGES =	\
    972 		man3/libgtkmm-2.4.3	\
    973 		man3/libatkmm-1.6.3	\
    974 		man3/libgdkmm-2.4.3
    975 SUNWgtkmm.PAGES: $(SUNWgtkmm_PAGES)
    976 
    977 SUNWpangomm_PAGES =	\
    978 		man3/libpangomm-1.4.3
    979 SUNWpangomm.PAGES: $(SUNWpangomm_PAGES)
    980 
    981 SUNWespeak_PAGES =	\
    982 		man1/espeak.1		\
    983 		man3/libespeak.3
    984 SUNWespeak.PAGES: $(SUNWespeak_PAGES)
    985 
    986 SUNWgnome-nettool_PAGES =	\
    987 		man1/gnome-nettool.1
    988 SUNWgnome-nettool.PAGES: $(SUNWgnome-nettool_PAGES)
    989 
    990 SUNWnwam-manager_PAGES = \
    991 	man1m/nwam-manager.1m
    992 SUNWnwam-manager.PAGES: $(SUNWnwam-manager_PAGES)
    993 
    994 SUNWw3m_PAGES =	\
    995 	man1/w3m.1							  \
    996 	man1/w3mman.1
    997 SUNWw3m.PAGES: $(SUNWw3m_PAGES)
    998 
    999 SUNWlibgsf_PAGES =	            \
   1000 	man1/gsf.1							      \
   1001 	man1/gsf-office-thumbnailer.1 \
   1002 	man1/gsf-vba-dump.1           \
   1003         man3/libgsf-1.3               \
   1004         man3/libgsf-gnome-1.3         
   1005 SUNWlibgsf.PAGES: $(SUNWlibgsf_PAGES)
   1006 
   1007 SUNWseahorse_PAGES =                \
   1008         man1/seahorse.1             \
   1009         man1/seahorse-daemon.1      \
   1010         man3/libcryptui.3          
   1011 SUNWseahorse.PAGES: $(SUNWseahorse_PAGES)
   1012 
   1013 SUNWdesktop-search_PAGES =          \
   1014         man1/tracker-processes.1    \
   1015         man1/tracker-indexer.1
   1016 SUNWdesktop-search.PAGES: $(SUNWdesktop-search_PAGES)
   1017 
   1018 
   1019 SUNWdia_PAGES =                \
   1020         man1/dia.1         
   1021 SUNWdia.PAGES: $(SUNWdia_PAGES)
   1022 
   1023 SUNWgtk-vnc_PAGES =                \
   1024         man3/libgtk-vnc-1.0.3
   1025 SUNWgtk-vnc.PAGES: $(SUNWgtk-vnc_PAGES)
   1026 
   1027 SUNWdrivel_PAGES =                \
   1028         man1/drivel.1
   1029 SUNWdrivel.PAGES: $(SUNWdrivel_PAGES)
   1030 
   1031 SUNWvinagre_PAGES =                \
   1032         man1/vinagre.1
   1033 SUNWvinagre.PAGES: $(SUNWvinagre_PAGES)
   1034 
   1035 SUNWlibunique_PAGES =                \
   1036         man3/libunique-1.0.3
   1037 SUNWlibunique.PAGES: $(SUNWlibunique_PAGES)
   1038 
   1039 SUNWbabl_PAGES =                   \
   1040 	man3/libbabl-0.0.3
   1041 SUNWbabl.PAGES: $(SUNWbabl_PAGES)
   1042 
   1043 SUNWgegl_PAGES =                   \
   1044 	man1/gegl.1                \
   1045 	man3/libgegl-0.0.3
   1046 SUNWgegl.PAGES: $(SUNWgegl_PAGES)
   1047 
   1048 SUNWlibpigment_PAGES=			      \
   1049 	man3/libpigment-0.3.3		      \
   1050 	man3/libpigment-gtk-0.3.3		\
   1051 	man3/libpigment-imaging-0.3.3
   1052 SUNWlibpigment.PAGES: $(SUNWlibpigment_PAGES)
   1053 
   1054 SUNWlibtheora_PAGES=			      \
   1055 	man3/libtheora.3		      \
   1056 	man3/libtheoraenc.3		      \
   1057 	man3/libtheoradec.3      
   1058 SUNWlibtheora.PAGES: $(SUNWlibtheora_PAGES)
   1059 
   1060 SUNWflac_PAGES=			      \
   1061 	man3/libFLAC.3
   1062 SUNWflac.PAGES: $(SUNWlibflac_PAGES)
   1063 
   1064 SUNWspeex_PAGES=                       \
   1065         man3/libspeex.3                \
   1066         man3/libspeexdsp.3             
   1067 SUNWspeex.PAGES: $(SUNWspeex_PAGES)
   1068 
   1069 
   1070 
   1071 .SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
   1072 .SUFFIXES: .check-used .PAGES
   1073 
   1074 TARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
   1075 
   1076 TARBALLS: 
   1077 	@test -d $(TARBALL_DIR) ||  mkdir -p "$(TARBALL_DIR)"
   1078 	@rm -rf $(TARBALL_DIR)/*.tar.gz
   1079 	@test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
   1080 	@test -x $(GZIP) || echo "gzip utility not found"
   1081 	@for package in $(PACKAGES); do \
   1082 		$(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
   1083 	done
   1084 
   1085 %-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
   1086 	@test -d $(TARBALL_DIR) ||  mkdir -p "$(TARBALL_DIR)"
   1087 	@if test -f $(TARBALL_DIR)/$@; then \
   1088 		rm -f $(TARBALL_DIR)/$@; \
   1089 	fi
   1090 	@rm -rf $(MANPAGE_DIR)/*
   1091 	@test -d $(MANPAGE_DIR) ||  mkdir -p "$(MANPAGE_DIR)"
   1092 	@echo "Converting manpages for $@"
   1093 	@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
   1094 		base_manpage=`basename $$manpage`; \
   1095 		echo "	$$base_manpage"; \
   1096 		suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$'`; \
   1097 		if [ $$suffix = "ent" ]; then \
   1098 			cp $$manpage $(MANPAGE_DIR); \
   1099 		else \
   1100 			$(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
   1101 			$(GREP) "<!--ARC" $$manpage | $(AWK) '{ \
   1102 					idx1 = index($$0, "ARC "); \
   1103 					idx2 = index($$0, "-->"); \
   1104 					if (idx1 > 0 && idx2 > 0) { \
   1105 						print "...\\\" " substr($$0, idx1+6, idx2-(idx1+6)); \
   1106 					} \
   1107 			}' >> $(MANPAGE_DIR)/$$base_manpage; \
   1108 		fi;\
   1109 		echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
   1110 	done
   1111 	@cp Makefile.template $(MANPAGE_DIR)/Makefile
   1112 	@if test -f $(MANPAGE_DIR)/ent; then \
   1113 		mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
   1114 	fi
   1115 	@for mantype in entities 1 1m 3 3tiff 4 5; do \
   1116 		if test -f $(MANPAGE_DIR)/$$mantype; then \
   1117 			echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
   1118 			$(AWK) '{	\
   1119 				if (length(saved_page) > 0)	\
   1120 				print "	" saved_page "	\\";	\
   1121 				saved_page=$$0;	\
   1122 				} \
   1123 				END { \
   1124 					print "	" saved_page; \
   1125 				}' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
   1126 			echo "" >> $(MANPAGE_DIR)/Makefile; \
   1127 		fi; \
   1128 	done
   1129 	@echo "install:" >> $(MANPAGE_DIR)/Makefile
   1130 	@for mantype in entities 1 1m 3 3tiff 4 5; do \
   1131 		if test -f $(MANPAGE_DIR)/$$mantype; then \
   1132 			echo "	install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
   1133 			echo "	for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
   1134 			echo "		 install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
   1135 			echo "	done" >> $(MANPAGE_DIR)/Makefile; \
   1136 			rm -f $(MANPAGE_DIR)/$$mantype; \
   1137 		fi; \
   1138 	done
   1139 	@tarball=`basename "$@" .gz`; echo "Making tarball $$tarball"; \
   1140 		$(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
   1141 		$(GZIP) $(TARBALL_DIR)/$$tarball
   1142 	@rm -rf $(MANPAGE_DIR)
   1143 
   1144 check-used: 
   1145 	@test -d check-used-manpages ||  mkdir -p "check-used-manpages"
   1146 	@test -d check-all-manpages ||  mkdir -p "check-all-manpages"
   1147 	@rm -f unused-manpages.txt
   1148 	@cp entities/* man*/* check-all-manpages
   1149 	@for package in $(PACKAGES); do \
   1150 		$(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
   1151 	done
   1152 	@all_manpages=`ls check-all-manpages/*`; \
   1153 		for manpage in $$all_manpages; do \
   1154 			base_manpage=`basename $$manpage`; \
   1155 			if test -f check-used-manpages/$$base_manpage; then \
   1156 				echo "	"$$base_manpage >> /dev/null;	\
   1157 			else \
   1158 				echo "	"$$base_manpage >> unused-manpages.txt; \
   1159 			fi; \
   1160 		done
   1161 	@if test -f unused-manpages.txt; then \
   1162 		echo "Following Manpages are not being used in any SUNW package :"; \
   1163 		cat unused-manpages.txt; \
   1164 		rm -f unused-manpages.txt; \
   1165 	else \
   1166 		echo "All man pages are being used"; \
   1167 	fi
   1168 	@rm -rf check-all-manpages
   1169 	@rm -rf check-used-manpages
   1170 
   1171 %.check-used: %.PAGES
   1172 	@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
   1173 		cp $$manpage check-used-manpages; \
   1174 	done
   1175 
   1176 check-version:
   1177 	@echo $(MANPAGE_VERSION)
   1178 
   1179 clean:
   1180 	rm -rf $(MANPAGE_DIR)
   1181 	rm $(TARBALL_DIR)/*.tar.gz
   1182 
   1183