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 
     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 
     70 PACKAGES = \
     71 	SUNWTiff			\
     72 	SUNWdbus			\
     73 	SUNWdbus-bindings		\
     74 	SUNWevolution-exchange		\
     75 	SUNWevolution			\
     76 	SUNWevolution-data-server	\
     77 	SUNWfirefox			\
     78 	SUNWgnome-a11y-dasher		\
     79 	SUNWgnome-a11y-gok		\
     80 	SUNWgnome-a11y-libs		\
     81 	SUNWgnome-a11y-poke		\
     82 	SUNWgnome-a11y-reader		\
     83 	SUNWgnome-archive-mgr		\
     84 	SUNWgnome-audio			\
     85 	SUNWgnome-base-libs		\
     86 	SUNWgnome-base-libs-java	\
     87 	SUNWgnome-calculator		\
     88 	SUNWgnome-cd-burner		\
     89 	SUNWgnome-cd			\
     90 	SUNWgnome-character-map		\
     91 	SUNWgnome-common-devel		\
     92 	SUNWgnome-component		\
     93 	SUNWgnome-config-editor		\
     94 	SUNWgnome-config		\
     95 	SUNWgnome-crash-report		\
     96 	SUNWgnome-desktop-prefs		\
     97 	SUNWgnome-dialog		\
     98 	SUNWgnome-display-mgr		\
     99 	SUNWgnome-file-mgr		\
    100 	SUNWgnome-gtksourceview		\
    101 	SUNWgnome-gvfs	\
    102 	SUNWgnome-help-viewer		\
    103 	SUNWgnome-hex-editor		\
    104 	SUNWgnome-im-client		\
    105 	SUNWgnome-meeting \
    106 	SUNWgnome-img-viewer		\
    107 	SUNWgnome-libs			\
    108 	SUNWgnome-media-apps		\
    109 	SUNWgnome-media-player		\
    110 	SUNWgnome-media			\
    111 	SUNWgnome-menu-editor		\
    112 	SUNWgnome-panel			\
    113 	SUNWgnome-pdf-viewer		\
    114 	SUNWgnome-pilot			\
    115 	SUNWgnome-print			\
    116 	SUNWgnome-remote-desktop	\
    117 	SUNWgnome-removable-media	\
    118 	SUNWgnome-session		\
    119 	SUNWgnome-sys-suspend		\
    120 	SUNWgnome-system-tools		\
    121 	SUNWgnome-system-monitor	\
    122 	SUNWgnome-terminal		\
    123 	SUNWgnome-text-editor		\
    124 	SUNWgnome-ui-designer		\
    125 	SUNWgnome-utils			\
    126 	SUNWgnome-vfs			\
    127 	SUNWgnome-wm			\
    128 	SUNWjpg				\
    129 	SUNWlibpopt			\
    130 	SUNWlibrsvg			\
    131 	SUNWogg-vorbis			\
    132 	SUNWpng				\
    133 	SUNWrealplayer			\
    134 	SUNWthunderbird		        \
    135 	SUNWgnome-devhelp		\
    136 	SUNWgnome-power-manager		\
    137 	SUNWfsexam			\
    138 	SUNWprint-monitor		\
    139 	SUNWIPython			\
    140 	SUNWxdg-user-dirs			\
    141 	SUNWxdg-user-dirs-gtk			\
    142 	SUNWvirt-manager		\
    143 	SUNWgnome-games		\
    144 	SUNWgamin	\
    145 	SUNWlibtasn1
    146 
    147 all: TARBALLS
    148 
    149 SUNWTiff_PAGES =					\
    150 	man1/fax2ps.1					\
    151 	man1/fax2tiff.1					\
    152 	man1/gif2tiff.1					\
    153 	man1/pal2rgb.1					\
    154 	man1/ppm2tiff.1					\
    155 	man1/ras2tiff.1					\
    156 	man1/rgb2ycbcr.1				\
    157 	man1/thumbnail.1				\
    158 	man1/tiff2bw.1					\
    159 	man1/tiff2ps.1					\
    160 	man1/tiffcmp.1					\
    161 	man1/tiffcp.1					\
    162 	man1/tiffdither.1				\
    163 	man1/tiffdump.1					\
    164 	man1/tiffinfo.1					\
    165 	man1/tiffmedian.1				\
    166 	man1/tiffsplit.1				\
    167 	man3/libtiff.3					\
    168 	man3tiff/TIFFCheckTile.3tiff			\
    169 	man3tiff/TIFFClientOpen.3tiff			\
    170 	man3tiff/TIFFClose.3tiff			\
    171 	man3tiff/TIFFComputeStrip.3tiff			\
    172 	man3tiff/TIFFComputeTile.3tiff			\
    173 	man3tiff/TIFFCurrentDirectory.3tiff		\
    174 	man3tiff/TIFFCurrentRow.3tiff			\
    175 	man3tiff/TIFFCurrentStrip.3tiff			\
    176 	man3tiff/TIFFCurrentTile.3tiff			\
    177 	man3tiff/TIFFDefaultStripSize.3tiff		\
    178 	man3tiff/TIFFDefaultTileSize.3tiff		\
    179 	man3tiff/TIFFError.3tiff			\
    180 	man3tiff/TIFFFdOpen.3tiff			\
    181 	man3tiff/TIFFFileName.3tiff			\
    182 	man3tiff/TIFFFileno.3tiff			\
    183 	man3tiff/TIFFFindCODEC.3tiff			\
    184 	man3tiff/TIFFFlush.3tiff			\
    185 	man3tiff/TIFFFlushData.3tiff			\
    186 	man3tiff/TIFFGetBitRevTable.3tiff		\
    187 	man3tiff/TIFFGetField.3tiff			\
    188 	man3tiff/TIFFGetFieldDefaulted.3tiff		\
    189 	man3tiff/TIFFGetMode.3tiff			\
    190 	man3tiff/TIFFGetVersion.3tiff			\
    191 	man3tiff/TIFFIsByteSwapped.3tiff		\
    192 	man3tiff/TIFFIsMSB2LSB.3tiff			\
    193 	man3tiff/TIFFIsTiled.3tiff			\
    194 	man3tiff/TIFFIsUpSampled.3tiff			\
    195 	man3tiff/TIFFLastDirectory.3tiff		\
    196 	man3tiff/TIFFNumberOfStrips.3tiff		\
    197 	man3tiff/TIFFNumberOfTiles.3tiff		\
    198 	man3tiff/TIFFOpen.3tiff				\
    199 	man3tiff/TIFFPrintDirectory.3tiff		\
    200 	man3tiff/TIFFRGBAImage.3tiff			\
    201 	man3tiff/TIFFRGBAImageBegin.3tiff		\
    202 	man3tiff/TIFFRGBAImageEnd.3tiff			\
    203 	man3tiff/TIFFRGBAImageGet.3tiff			\
    204 	man3tiff/TIFFRGBAImageOK.3tiff			\
    205 	man3tiff/TIFFRGBAImageOriented.3tiff		\
    206 	man3tiff/TIFFRasterScanlineSize.3tiff		\
    207 	man3tiff/TIFFReadBufferSetup.3tiff		\
    208 	man3tiff/TIFFReadDirectory.3tiff		\
    209 	man3tiff/TIFFReadEncodedStrip.3tiff		\
    210 	man3tiff/TIFFReadEncodedTile.3tiff		\
    211 	man3tiff/TIFFReadRGBAImage.3tiff		\
    212 	man3tiff/TIFFReadRGBAStrip.3tiff		\
    213 	man3tiff/TIFFReadRGBATile.3tiff			\
    214 	man3tiff/TIFFReadRawStrip.3tiff			\
    215 	man3tiff/TIFFReadRawTile.3tiff			\
    216 	man3tiff/TIFFReadScanline.3tiff			\
    217 	man3tiff/TIFFReadTile.3tiff			\
    218 	man3tiff/TIFFRegisterCODEC.3tiff		\
    219 	man3tiff/TIFFReverseBits.3tiff			\
    220 	man3tiff/TIFFScanlineSize.3tiff			\
    221 	man3tiff/TIFFSetDirectory.3tiff			\
    222 	man3tiff/TIFFSetErrorHandler.3tiff		\
    223 	man3tiff/TIFFSetField.3tiff			\
    224 	man3tiff/TIFFSetSubDirectory.3tiff		\
    225 	man3tiff/TIFFSetWarningHandler.3tiff		\
    226 	man3tiff/TIFFStripSize.3tiff			\
    227 	man3tiff/TIFFSwabArrayOfLong.3tiff		\
    228 	man3tiff/TIFFSwabArrayOfShort.3tiff		\
    229 	man3tiff/TIFFSwabLong.3tiff			\
    230 	man3tiff/TIFFSwabShort.3tiff			\
    231 	man3tiff/TIFFTileRowSize.3tiff			\
    232 	man3tiff/TIFFTileSize.3tiff			\
    233 	man3tiff/TIFFUnRegisterCODEC.3tiff		\
    234 	man3tiff/TIFFVGetField.3tiff			\
    235 	man3tiff/TIFFVGetFieldDefaulted.3tiff		\
    236 	man3tiff/TIFFVSetField.3tiff			\
    237 	man3tiff/TIFFVStripSize.3tiff			\
    238 	man3tiff/TIFFVTileSize.3tiff			\
    239 	man3tiff/TIFFWarning.3tiff			\
    240 	man3tiff/TIFFWriteBufferSetup.3tiff		\
    241 	man3tiff/TIFFWriteDirectory.3tiff		\
    242 	man3tiff/TIFFWriteEncodedStrip.3tiff		\
    243 	man3tiff/TIFFWriteEncodedTile.3tiff		\
    244 	man3tiff/TIFFWriteRawStrip.3tiff		\
    245 	man3tiff/TIFFWriteRawTile.3tiff			\
    246 	man3tiff/TIFFWriteScanline.3tiff		\
    247 	man3tiff/TIFFWriteTile.3tiff			\
    248 	man3tiff/TIFFbuffer.3tiff			\
    249 	man3tiff/TIFFcodec.3tiff			\
    250 	man3tiff/TIFFmemory.3tiff			\
    251 	man3tiff/TIFFquery.3tiff			\
    252 	man3tiff/TIFFsize.3tiff				\
    253 	man3tiff/TIFFstrip.3tiff			\
    254 	man3tiff/TIFFswab.3tiff				\
    255 	man3tiff/TIFFtile.3tiff				\
    256 	man3tiff/_TIFFfree.3tiff			\
    257 	man3tiff/_TIFFmalloc.3tiff			\
    258 	man3tiff/_TIFFmemcmp.3tiff			\
    259 	man3tiff/_TIFFmemcpy.3tiff			\
    260 	man3tiff/_TIFFmemset.3tiff			\
    261 	man3tiff/_TIFFrealloc.3tiff
    262 SUNWTiff.PAGES: $(SUNWTiff_PAGES)
    263 
    264 SUNWdbus_PAGES =	\
    265 	man1/dbus-cleanup-sockets.1	\
    266 	man1/dbus-launch.1		\
    267 	man1/dbus-monitor.1		\
    268 	man1/dbus-send.1		\
    269 	man1/dbus-uuidgen.1		\
    270 	man3/dbus-daemon.3
    271 SUNWdbus.PAGES: $(SUNWdbus_PAGES)
    272 
    273 SUNWdbus-bindings_PAGES =	\
    274 	man3/libdbus-glib-1.3
    275 SUNWdbus-bindings.PAGES: $(SUNWdbus-bindings_PAGES)
    276 
    277 SUNWevolution-exchange_PAGES =				\
    278 	man1/exchange-connector-setup.1
    279 SUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
    280 
    281 SUNWevolution_PAGES =		\
    282 	man1/evolution.1	\
    283 	man3/libebook-1.2.3	\
    284 	man3/libecal-1.2.3
    285 SUNWevolution.PAGES: $(SUNWevolution_PAGES)
    286 
    287 SUNWevolution-data-server_PAGES =	\
    288 	man3/libedata-book-1.2.3	\
    289 	man3/libedata-cal-1.2.3		\
    290 	man3/libedataserver-1.2.3	\
    291 	man3/libedataserverui-1.2.3
    292 SUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
    293 
    294 SUNWfirefox_PAGES =	\
    295 	man1/firefox.1
    296 SUNWfirefox.PAGES: $(SUNWfirefox_PAGES)
    297 
    298 SUNWgnome-a11y-dasher_PAGES =			\
    299 	man1/dasher.1
    300 SUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
    301 
    302 SUNWgnome-a11y-gok_PAGES =			\
    303 	man1/create-branching-keyboard.1	\
    304 	man1/gok.1
    305 SUNWgnome-a11y-gok.PAGES: $(SUNWgnome-a11y-gok_PAGES)
    306 
    307 SUNWgnome-a11y-libs_PAGES =		\
    308 	man3/at-spi.3			\
    309 	man3/libspi.3			\
    310 	man3/libcspi.3
    311 SUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
    312 
    313 SUNWIPython_PAGES =		\
    314 	man1/ipython.1		\
    315 	man1/pycolor.1
    316 SUNWIPython.PAGES: $(SUNWIPython_PAGES)
    317 
    318 SUNWgnome-a11y-reader_PAGES =	\
    319 	man1/orca.1
    320 SUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
    321 
    322 SUNWgnome-a11y-poke_PAGES =	\
    323 	man1/accerciser.1
    324 SUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
    325 
    326 SUNWgnome-archive-mgr_PAGES =	\
    327 	man1/file-roller.1
    328 SUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
    329 
    330 SUNWgnome-audio_PAGES =			\
    331 	man1/audiofile-config.1		\
    332 	man1/esd-config.1		\
    333 	man1/esdcat.1			\
    334 	man1/esdctl.1			\
    335 	man1/esdmon.1			\
    336 	man1/esdplay.1			\
    337 	man1/esdrec.1			\
    338 	man1/esdsample.1		\
    339 	man3/libaudiofile.3		\
    340 	man3/libesd.3
    341 SUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
    342 
    343 SUNWgnome-base-libs_PAGES =			\
    344 	man1/glib-genmarshal.1			\
    345 	man1/glib-gettextize.1			\
    346 	man1/glib-mkenums.1			\
    347 	man1/gobject-query.1			\
    348 	man1/gdk-pixbuf-csource.1		\
    349 	man1/gdk-pixbuf-query-loaders.1		\
    350 	man1/gtk-query-immodules-2.0.1		\
    351 	man1/gtk-update-icon-cache.1		\
    352 	man1/gtk-builder-convert.1		\
    353 	man1/pango-querymodules.1		\
    354 	man1/libart2-config.1			\
    355 	man3/libatk-1.0.3			\
    356 	man3/libcairo.3				\
    357 	man3/libgailutil.3			\
    358 	man3/libgio-2.0.3			\
    359 	man3/libglib-2.0.3			\
    360 	man3/libgmodule-2.0.3			\
    361 	man3/libgobject-2.0.3			\
    362 	man3/libgthread-2.0.3			\
    363 	man3/libgdk-x11-2.0.3			\
    364 	man3/libgdk_pixbuf-2.0.3		\
    365 	man3/libgdk_pixbuf_xlib-2.0.3		\
    366 	man3/libgtk-x11-2.0.3			\
    367 	man3/libart_lgpl_2.3			\
    368 	man3/libglade-2.0.3			\
    369 	man3/libgnomecanvas-2.3			\
    370 	man3/libpango-1.0.3			\
    371 	man3/libpangocairo-1.0.3		\
    372 	man3/libpangoft2-1.0.3			\
    373 	man3/libpangoxft-1.0.3			\
    374 	man3/libpangox-1.0.3			\
    375 	man5/gnome-interfaces.5			\
    376 	entities/gnomecommon.ent
    377 SUNWgnome-base-libs.PAGES: $(SUNWgnome-base-libs_PAGES)
    378 
    379 SUNWgnome-base-libs-java_PAGES =		\
    380 	man3/java-gnome.3
    381 SUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
    382 
    383 SUNWgnome-calculator_PAGES =	\
    384 	man1/gcalctool.1			\
    385 	man1/gnome-calculator.1
    386 SUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
    387 
    388 SUNWgnome-cd-burner_PAGES =		\
    389 	man1/nautilus-cd-burner.1
    390 SUNWgnome-cd-burner.PAGES: $(SUNWgnome-cd-burner_PAGES)
    391 
    392 SUNWgnome-cd_PAGES =	\
    393 	man1/sound-juicer.1
    394 SUNWgnome-cd.PAGES: $(SUNWgnome-cd_PAGES)
    395 
    396 SUNWgnome-character-map_PAGES =	\
    397 	man1/charmap.1				\
    398 	man1/gucharmap.1			\
    399 	man1/gnome-character-map.1
    400 SUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
    401 
    402 SUNWgnome-common-devel_PAGES =	\
    403 	man1/intltool-extract.1		\
    404 	man1/intltool-merge.1		\
    405 	man1/intltool-prepare.1		\
    406 	man1/intltool-update.1		\
    407 	man1/intltoolize.1		\
    408 	man1/pkg-config.1
    409 SUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
    410 
    411 SUNWgnome-component_PAGES =			\
    412 	man1/orbit-idl-2.1			\
    413 	man1/activation-client.1		\
    414 	man1/orbit2-config.1			\
    415 	man1/bonobo-slay.1			\
    416 	man3/libORBit-2.3			\
    417 	man3/libbonobo-activation.3		\
    418 	man3/libIDL-2.3				\
    419 	man3/libbonobo-2.3			\
    420 	man3/libORBitCosNaming-2.3
    421 SUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
    422 
    423 SUNWgnome-config-editor_PAGES =	\
    424 	man1/gconf-editor.1
    425 SUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
    426 
    427 SUNWgnome-config_PAGES =	\
    428 	man1/gconftool-2.1	\
    429 	man3/libgconf-2.3
    430 SUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
    431 
    432 SUNWgnome-crash-report_PAGES =	\
    433 	man1/bug-buddy.1
    434 SUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
    435 
    436 SUNWgnome-desktop-prefs_PAGES =				\
    437 	man1/update-desktop-database.1			\
    438 	man1/gnome-accessibility-keyboard-properties.1	\
    439 	man1/gnome-appearance-properties.1		\
    440 	man1/gnome-at-properties.1			\
    441 	man1/gnome-control-center.1			\
    442 	man1/gnome-default-applications-properties.1	\
    443 	man1/gnome-display-properties.1			\
    444 	man1/gnome-keybinding-properties.1		\
    445 	man1/gnome-keyboard-properties.1		\
    446 	man1/gnome-mouse-properties.1			\
    447 	man1/gnome-network-preferences.1		\
    448 	man1/gnome-sound-properties.1			\
    449 	man1/gnome-window-properties.1			\
    450 	man1/gnome-font-viewer.1
    451 SUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
    452 
    453 SUNWgnome-dialog_PAGES =	\
    454 	man1/zenity.1		\
    455 	man1/gdialog.1
    456 SUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
    457 
    458 SUNWgnome-display-mgr_PAGES =		\
    459 	man1/gdmXnest.1			\
    460 	man1/gdmXnestchooser.1		\
    461 	man1/gdmflexiserver.1		\
    462 	man1/gdmphotosetup.1		\
    463 	man1/gdmthemetester.1		\
    464 	man1/gdmdynamic.1		\
    465 	man1m/gdm.1m			\
    466 	man1m/gdmsetup.1m		\
    467 	man1m/gdm-binary.1m		\
    468 	man1m/gdm-restart.1m		\
    469 	man1m/gdm-safe-restart.1m	\
    470 	man1m/gdm-stop.1m
    471 SUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
    472 
    473 SUNWgnome-file-mgr_PAGES =				\
    474 	man1/nautilus.1					\
    475 	man1/nautilus-file-management-properties.1
    476 SUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
    477 
    478 SUNWgnome-gtksourceview_PAGES =	\
    479 	man3/libgtksourceview-1.0.3
    480 SUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
    481 
    482 SUNWgnome-gvfs_PAGES =	\
    483 	man1/gvfs-cat.1	\
    484 	man1/gvfs-copy.1	\
    485 	man1/gvfs-info.1	\
    486 	man1/gvfs-less.1	\
    487 	man1/gvfs-ls.1	\
    488 	man1/gvfs-mkdir.1	\
    489 	man1/gvfs-monitor-dir.1	\
    490 	man1/gvfs-monitor-file.1	\
    491 	man1/gvfs-mount.1	\
    492 	man1/gvfs-move.1	\
    493 	man1/gvfs-rename.1	\
    494 	man1/gvfs-open.1	\
    495 	man1/gvfs-rm.1	\
    496 	man1/gvfs-save.1	\
    497 	man1/gvfs-trash.1	\
    498 	man1/gvfs-tree.1
    499 SUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
    500 
    501 SUNWgnome-help-viewer_PAGES =	\
    502 	man1/gnome-help.1	\
    503 	man1/yelp.1
    504 SUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
    505 
    506 SUNWgnome-hex-editor_PAGES =	\
    507 	man1/ghex2.1
    508 SUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
    509 
    510 SUNWgnome-im-client_PAGES =	\
    511 	man1/pidgin.1							\
    512 	man1/purple-remote.1			\
    513 	man1/purple-send.1				\
    514 	man1/purple-send-async.1	\
    515 	man1/purple-url-handler.1	\
    516 	man1/otr_mackey.1					\
    517 	man1/otr_modify.1					\
    518 	man1/otr_parse.1					\
    519 	man1/otr_readforge.1			\
    520 	man1/otr_remac.1					\
    521 	man1/otr_sesskeys.1
    522 
    523 SUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
    524 
    525 SUNWgnome-meeting_PAGES = \
    526   man1/ekiga.1
    527 SUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
    528 
    529 SUNWgnome-img-viewer_PAGES =	\
    530 	man1/eog.1
    531 SUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
    532 
    533 SUNWgnome-libs_PAGES =					\
    534 	man1/scrollkeeper-config.1			\
    535 	man1/scrollkeeper-devel.1			\
    536 	man1/scrollkeeper-extract.1			\
    537 	man1/scrollkeeper-gen-seriesid.1		\
    538 	man1/scrollkeeper-get-cl.1			\
    539 	man1/scrollkeeper-get-content-list.1		\
    540 	man1/scrollkeeper-get-extended-content-list.1	\
    541 	man1/scrollkeeper-get-index-from-docpath.1	\
    542 	man1/scrollkeeper-get-toc-from-docpath.1	\
    543 	man1/scrollkeeper-get-toc-from-id.1		\
    544 	man1/scrollkeeper-install.1			\
    545 	man1/scrollkeeper-preinstall.1			\
    546 	man1/scrollkeeper-rebuilddb.1			\
    547 	man1/scrollkeeper-uninstall.1			\
    548 	man1/scrollkeeper-update.1			\
    549 	man1/scrollkeeper.1				\
    550 	man1/gnome-open.1				\
    551 	man3/libbonoboui-2.3				\
    552 	man3/libgnome-2.3				\
    553 	man3/libgnomeui-2.3
    554 SUNWgnome-libs.PAGES: $(SUNWgnome-libs_PAGES)
    555 
    556 SUNWgnome-media-apps_PAGES =			\
    557 	man1/gnome-sound-recorder.1		\
    558 	man1/gnome-audio-profiles-properties.1	\
    559 	man1/gnome-volume-control.1		\
    560 	man1/gstreamer-properties.1
    561 SUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
    562 
    563 SUNWgnome-media-player_PAGES =	       \
    564 	man1/rhythmbox.1               \
    565 	man1/rhythmbox-client.1        \
    566 	man1/totem.1                   \
    567 	man1/totem-video-thumbnailer.1
    568 SUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
    569 
    570 SUNWgnome-media_PAGES =			\
    571 	man1/gst-feedback.1		\
    572 	man1/gst-inspect.1		\
    573 	man1/gst-launch.1		\
    574 	man1/gst-typefind.1		\
    575 	man1/gst-xmlinspect.1		\
    576 	man1/gst-xmllaunch.1		\
    577 	man3/libgstreamer-0.10.3	\
    578 	man3/libgstbase-0.10.3		\
    579 	man5/gst-std-options.5
    580 SUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
    581 
    582 SUNWgnome-menu-editor_PAGES =		\
    583 	man1/alacarte.1
    584 SUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
    585 
    586 SUNWgnome-panel_PAGES =				\
    587 	man1/gnome-about.1			\
    588 	man1/gnome-desktop-item-edit.1		\
    589 	man1/gnome-panel.1			\
    590 	man1/notify-send.1			\
    591 	man1/gnome-cleanup.1			\
    592 	man3/libgnome-desktop-2.3		\
    593 	man3/libpanel-applet-2.3		\
    594 	man5/gnome-std-options.5
    595 SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
    596 
    597 SUNWgnome-pdf-viewer_PAGES =	\
    598 	man1/evince.1
    599 SUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
    600 
    601 SUNWgnome-pilot_PAGES =			\
    602 	man1/gpilot-install-file.1	\
    603 	man1/gpilotd-control-applet.1
    604 SUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
    605 
    606 SUNWgnome-print_PAGES =			\
    607 	man1/gnome-printinfo.1		\
    608 	man3/libgnomeprint-2.2.3	\
    609 	man3/libgnomeprintui-2.2.3
    610 SUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
    611 
    612 SUNWgnome-removable-media_PAGES =	\
    613 	man1/gnome-volcheck.1
    614 SUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
    615 
    616 SUNWgnome-remote-desktop_PAGES = 	\
    617 	man1/vino-server.1		\
    618 	man1/vino-preferences.1
    619 SUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
    620 
    621 SUNWgnome-session_PAGES =			\
    622 	man1/gnome-session.1			\
    623 	man1/gnome-session-properties.1		\
    624 	man1/gnome-session-remove.1		\
    625 	man1/gnome-session-save.1		\
    626 	man1/gnome-wm.1				\
    627 	man5/default.session.5
    628 SUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
    629 
    630 SUNWgnome-sys-suspend_PAGES =	\
    631 	man1/gnome-sys-suspend.1
    632 SUNWgnome-sys-suspend.PAGES: $(SUNWgnome-sys-suspend_PAGES)
    633 
    634 SUNWgnome-system-tools_PAGES =	\
    635 	man1/network-admin.1 	\
    636 	man1/services-admin.1 	\
    637 	man1/shares-admin.1 	\
    638 	man1/time-admin.1 	\
    639 	man1/users-admin.1
    640 SUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
    641 
    642 SUNWgnome-system-monitor_PAGES =	\
    643 	man1/gnome-system-monitor.1
    644 SUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
    645 
    646 SUNWgnome-terminal_PAGES =	\
    647 	man1/gnome-terminal.1	\
    648 	man1/vte.1		\
    649 	man3/libvte.3
    650 SUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
    651 
    652 SUNWgnome-text-editor_PAGES =	\
    653 	man1/gedit.1		\
    654 	man1/gnome-text-editor.1
    655 SUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
    656 
    657 SUNWgnome-ui-designer_PAGES =	\
    658 	man1/glade-3.1
    659 SUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
    660 
    661 SUNWgnome-utils_PAGES =				\
    662 	man1/gnome-dictionary.1			\
    663 	man1/gnome-search-tool.1		\
    664 	man1/gnome-panel-screenshot.1		\
    665 	man1/gnome-screenshot.1
    666 
    667 SUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
    668 
    669 SUNWgnome-vfs_PAGES =			\
    670 	man1/gnomevfs-cat.1		\
    671 	man1/gnomevfs-copy.1		\
    672 	man1/gnomevfs-info.1		\
    673 	man1/gnomevfs-ls.1		\
    674 	man1/gnomevfs-mkdir.1		\
    675 	man1/update-mime-database.1	\
    676 	man3/libgnomevfs-2.3		\
    677 	man4/gnome-vfs-mime-magic.4	\
    678 	man4/gnome-vfs.applications.4	\
    679 	man4/gnome-vfs.keys.4		\
    680 	man4/gnome-vfs.mime.4
    681 SUNWgnome-vfs.PAGES: $(SUNWgnome-vfs_PAGES)
    682 
    683 SUNWgnome-wm_PAGES =			\
    684 	man1/metacity.1			\
    685 	man1/metacity-message.1		\
    686 	man1/metacity-theme-viewer.1
    687 SUNWgnome-wm.PAGES: $(SUNWgnome-wm_PAGES)
    688 
    689 SUNWjpg_PAGES =			\
    690 	man1/cjpeg.1		\
    691 	man1/djpeg.1		\
    692 	man1/jpegtran.1		\
    693 	man1/rdjpgcom.1		\
    694 	man1/wrjpgcom.1		\
    695 	man3/libjpeg.3
    696 SUNWjpg.PAGES: $(SUNWjpg_PAGES)
    697 
    698 SUNWlibpopt_PAGES =	\
    699 	man3/libpopt.3
    700 SUNWlibpopt.PAGES: $(SUNWlibpopt_PAGES)
    701 
    702 SUNWlibrsvg_PAGES =		\
    703 	man1/rsvg.1		\
    704 	man3/librsvg-2.3
    705 SUNWlibrsvg.PAGES: $(SUNWlibrsvg_PAGES)
    706 
    707 SUNWogg-vorbis_PAGES =		\
    708 	man3/libogg.3		\
    709 	man3/libvorbis.3
    710 SUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
    711 
    712 SUNWpng_PAGES =			\
    713 	man3/libpng.3		\
    714 	man3/libpngpf.3		\
    715 	man4/png.4
    716 SUNWpng.PAGES: $(SUNWpng_PAGES)
    717 
    718 SUNWrealplayer_PAGES =	\
    719 	man1/realplay.1
    720 SUNWrealplayer.PAGES: $(SUNWrealplayer_PAGES)
    721 
    722 SUNWthunderbird_PAGES =	\
    723 	man1/thunderbird.1
    724 SUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
    725 
    726 SUNWgnome-devhelp_PAGES =   \
    727 	man1/devhelp.1
    728 SUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
    729 
    730 SUNWgnome-power-manager_PAGES =   \
    731 	man1/gnome-power-manager.1	\
    732 	man1/gnome-power-preferences.1	\
    733 	man1/gnome-power-statistics.1
    734 SUNWgnome-power-manager.PAGES: $(SUNWgnome-manager_PAGES)
    735 
    736 SUNWfsexam_PAGES =   	\
    737 	man1/fsexam.1	\
    738 	man4/fsexam.4
    739 SUNWfsexam.PAGES: $(SUNWfsexam_PAGES)
    740 
    741 SUNWprint-monitor_PAGES =   \
    742 	man1/ospm-preferences.1
    743 SUNWprint-monitor.PAGES: $(SUNWprint-monitor_PAGES)
    744 
    745 SUNWvirt-manager_PAGES =   \
    746         man1/virt-manager.1
    747 SUNWvirt-manager.PAGES: $(SUNWvirt-manager_PAGES)
    748 
    749 SUNWgnome-games_PAGES =    	\
    750 	man3/libggz.3		\
    751 	man3/libggzcore.3	\
    752 	man3/libggzmod.3
    753 SUNWgnome-games.PAGES: $(SUNWgnome-games_PAGES)
    754 
    755 SUNWxdg-user-dirs_PAGES =   \
    756 		man1/xdg-user-dir.1 \
    757 		man1/xdg-user-dirs-update.1
    758 
    759 SUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
    760 
    761 SUNWxdg-user-dirs-gtk_PAGES =   \
    762 		man1/xdg-user-dirs-gtk-update.1
    763 SUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
    764 
    765 SUNWgamin_PAGES =   \
    766 		man1/gam_server.1	\
    767 		man3/libgamin-1.3
    768 SUNWgamin.PAGES: $(SUNWgamin_PAGES)
    769 
    770 SUNWlibtasn1_PAGES =   \
    771         man3/libtasn1.3      
    772 SUNWlibtasn1.PAGES: $(SUNWgnome-manager_PAGES)
    773 
    774 
    775 .SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
    776 .SUFFIXES: .check-used .PAGES
    777 
    778 TARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
    779 
    780 TARBALLS: 
    781 	@test -d $(TARBALL_DIR) ||  mkdir -p "$(TARBALL_DIR)"
    782 	@rm -rf $(TARBALL_DIR)/*.tar.gz
    783 	@test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
    784 	@test -x $(GZIP) || echo "gzip utility not found"
    785 	@for package in $(PACKAGES); do \
    786 		$(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
    787 	done
    788 
    789 %-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
    790 	@test -d $(TARBALL_DIR) ||  mkdir -p "$(TARBALL_DIR)"
    791 	@if test -f $(TARBALL_DIR)/$@; then \
    792 		rm -f $(TARBALL_DIR)/$@; \
    793 	fi
    794 	@rm -rf $(MANPAGE_DIR)/*
    795 	@test -d $(MANPAGE_DIR) ||  mkdir -p "$(MANPAGE_DIR)"
    796 	@echo "Converting manpages for $@"
    797 	@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
    798 		base_manpage=`basename $$manpage`; \
    799 		echo "	$$base_manpage"; \
    800 		suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$'`; \
    801 		if [ $$suffix = "ent" ]; then \
    802 			cp $$manpage $(MANPAGE_DIR); \
    803 		else \
    804 			$(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
    805 		fi;\
    806 		echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
    807 	done
    808 	@cp Makefile.template $(MANPAGE_DIR)/Makefile
    809 	@if test -f $(MANPAGE_DIR)/ent; then \
    810 		mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
    811 	fi
    812 	@for mantype in entities 1 1m 3 3tiff 4 5; do \
    813 		if test -f $(MANPAGE_DIR)/$$mantype; then \
    814 			echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
    815 			$(AWK) '{	\
    816 				if (length(saved_page) > 0)	\
    817 				print "	" saved_page "	\\";	\
    818 				saved_page=$$0;	\
    819 				} \
    820 				END { \
    821 					print "	" saved_page; \
    822 				}' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
    823 			echo "" >> $(MANPAGE_DIR)/Makefile; \
    824 		fi; \
    825 	done
    826 	@echo "install:" >> $(MANPAGE_DIR)/Makefile
    827 	@for mantype in entities 1 1m 3 3tiff 4 5; do \
    828 		if test -f $(MANPAGE_DIR)/$$mantype; then \
    829 			echo "	install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
    830 			echo "	for mp in \$$(MAN"$