##
# Makefile for generateing man page tarballs that are used in each of the
# SUNW*.spec files
#
# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
# e.g. sun-manpage-tarballs/*.tar.gz
#
# Usage :
# "make" : Rebuilds all man page tarballs
#
# "make check-used" : Outputs list of man pages not being used.
#
# "make check-version" : Prints current man page tarball version
#
# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
# e.g. "make SUNWgnome-panel-manpages-0.1.tar.gz"
# will only generate SUNWgnome-panel's man page tarball
#
# For each package that contains man pages.
# - Ensure all relevant man pages for your package are located under the
# correct man page section dir i.e.
# entities/man1/man1m/man3/man3tiff/man4/man5
# - Add Package name to PACKAGES Variable
# e.g. PACKAGES = \
# SUNWgnome-panel \
# SUNWyour-package
#
# - Add two package specific variables
# PACKAGE_PAGES - Full path of all manpages for this package
# e.g. SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
# e.g. SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
#
#
# To Add new man pages to existing packages
# -----------------------------------------
# Put very simply, all that is required from engineers is to make some changes
# and commit in SVN.
#
# - Ensure the man page exists in SVN under the relevant man page section sub
# dir
# - Add man page to the SUNW<package>_PAGES Makefile variable
# e.g. For a new gnome-panel man page it would be added to
# SUNWgnome-panel_PAGES
# - Remake tarballs
# $ make
# This will re-generate all man page tarballs.
# - Copy newly generated tarball from sun-manpage-tarballs to package build
# sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages
# install correctly.
# - New man page tarball will be generated by RE for each nightly, and for each
# milestone build.
# - Commit change back to subverison, e.g. new/amended man pagees,
# Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
#
#
# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
# branched. PLEASE do not change this.
#
SHELL=/bin/ksh
MANPAGE_VERSION=0.1
MANPAGE_DIR=sun-manpages
TARBALL_DIR=sun-manpage-tarballs
SGML2ROFF=/usr/lib/sgml/sgml2roff
GZIP=/usr/bin/gzip
TAR=/usr/bin/tar
AWK=/usr/bin/awk
MAKE=/usr/sfw/bin/gmake
GREP=/usr/bin/grep
PACKAGES = \
SUNWTiff \
SUNWavant \
SUNWbabl \
SUNWbluefish \
SUNWcheese \
SUNWconsolekit \
SUNWdesktop-search \
SUNWdia \
SUNWdbus \
SUNWdbus-glib \
SUNWdrivel \
SUNWespeak \
SUNWevolution-libs \
SUNWevolution-exchange \
SUNWevolution \
SUNWevolution-webcal \
SUNWevolution-data-server \
SUNWfirefox \
SUNWfsexam \
SUNWgamin \
SUNWgegl \
SUNWgftp \
SUNWglibmm \
SUNWgnome-a11y-dasher \
SUNWgnome-a11y-libs \
SUNWgnome-a11y-mousetweaks \
SUNWgnome-a11y-poke \
SUNWgnome-a11y-reader \
SUNWgnome-a11y-speech \
SUNWgnome-archive-mgr \
SUNWgnome-audio \
SUNWglib2 \
SUNWcairo \
SUNWpango \
SUNWlibatk \
SUNWgdk-pixbuf \
SUNWgtk2 \
SUNWlibglade \
SUNWlibart \
SUNWlibgnomecanvas \
SUNWlibgoffice \
SUNWgnome-base-libs-java \
SUNWgnome-calculator \
SUNWgnome-camera \
SUNWgnome-cd \
SUNWgnome-character-map \
SUNWgnome-common-devel \
SUNWgnome-component \
SUNWgnome-config-editor \
SUNWgnome-config \
SUNWgnome-crash-report \
SUNWgnome-desktop-prefs \
SUNWgnome-devhelp \
SUNWgnome-dialog \
SUNWgnome-display-mgr \
SUNWgnome-file-mgr \
SUNWgnome-gtksourceview \
SUNWgnome-gvfs \
SUNWgnome-help-viewer \
SUNWgnome-hex-editor \
SUNWgnome-im-client \
SUNWgnome-img-viewer \
SUNWgnome-libs \
SUNWgnome-media-player \
SUNWgnome-media \
SUNWgnome-meeting \
SUNWgnome-menu-editor \
SUNWgnome-nettool \
SUNWgnome-panel \
SUNWgnome-pdf-viewer \
SUNWgnome-pilot \
SUNWgnome-power-manager \
SUNWgnome-remote-desktop \
SUNWgnome-removable-media \
SUNWgnome-session \
SUNWgnome-spell \
SUNWgnome-system-tools \
SUNWgnome-system-monitor \
SUNWgnome-terminal \
SUNWgnome-text-editor \
SUNWgnome-ui-designer \
SUNWgnome-utils \
SUNWgnome-vfs \
SUNWgnome-wm \
SUNWgnutls \
SUNWgtkmm \
SUNWgtkspell \
SUNWgtk-vnc \
SUNWjpg \
SUNWlibcanberra \
SUNWlibcroco \
SUNWlibgcrypt \
SUNWlibgmime \
SUNWlibgnome-media \
SUNWlibgpg-error \
SUNWlibgsf \
SUNWlibgtop \
SUNWlibical \
SUNWliboil \
SUNWlibpopt \
SUNWlibproxy \
SUNWlibrsvg \
SUNWlibsoup \
SUNWlibtasn1 \
SUNWogg-vorbis \
SUNWopenproj \
SUNWpangomm \
SUNWpilot-link \
SUNWpng \
SUNWpulseaudio \
SUNWpython26-coherence \
SUNWseahorse \
SUNWsigcpp \
SUNWthunderbird \
SUNWtransmission \
SUNWtsclient \
SUNWvinagre \
SUNWlibunique \
SUNWw3m \
SUNWxdg-user-dirs \
SUNWxdg-user-dirs-gtk \
SUNWflac \
SUNWspeex \
SUNWlibtheora \
SUNWgnome-keyring \
SUNWlibgnome-keyring \
SUNWlibxklavier \
SUNWgnome-keyboard-libs
all: TARBALLS
SUNWTiff_PAGES = \
man1/fax2ps.1 \
man1/fax2tiff.1 \
man1/gif2tiff.1 \
man1/pal2rgb.1 \
man1/ppm2tiff.1 \
man1/ras2tiff.1 \
man1/rgb2ycbcr.1 \
man1/thumbnail.1 \
man1/tiff2bw.1 \
man1/tiff2ps.1 \
man1/tiffcmp.1 \
man1/tiffcp.1 \
man1/tiffdither.1 \
man1/tiffdump.1 \
man1/tiffinfo.1 \
man1/tiffmedian.1 \
man1/tiffsplit.1 \
man3/libtiff.3 \
man3tiff/TIFFCheckTile.3tiff \
man3tiff/TIFFClientOpen.3tiff \
man3tiff/TIFFClose.3tiff \
man3tiff/TIFFComputeStrip.3tiff \
man3tiff/TIFFComputeTile.3tiff \
man3tiff/TIFFCurrentDirectory.3tiff \
man3tiff/TIFFCurrentRow.3tiff \
man3tiff/TIFFCurrentStrip.3tiff \
man3tiff/TIFFCurrentTile.3tiff \
man3tiff/TIFFDefaultStripSize.3tiff \
man3tiff/TIFFDefaultTileSize.3tiff \
man3tiff/TIFFError.3tiff \
man3tiff/TIFFFdOpen.3tiff \
man3tiff/TIFFFileName.3tiff \
man3tiff/TIFFFileno.3tiff \
man3tiff/TIFFFindCODEC.3tiff \
man3tiff/TIFFFlush.3tiff \
man3tiff/TIFFFlushData.3tiff \
man3tiff/TIFFGetBitRevTable.3tiff \
man3tiff/TIFFGetField.3tiff \
man3tiff/TIFFGetFieldDefaulted.3tiff \
man3tiff/TIFFGetMode.3tiff \
man3tiff/TIFFGetVersion.3tiff \
man3tiff/TIFFIsByteSwapped.3tiff \
man3tiff/TIFFIsMSB2LSB.3tiff \
man3tiff/TIFFIsTiled.3tiff \
man3tiff/TIFFIsUpSampled.3tiff \
man3tiff/TIFFLastDirectory.3tiff \
man3tiff/TIFFNumberOfStrips.3tiff \
man3tiff/TIFFNumberOfTiles.3tiff \
man3tiff/TIFFOpen.3tiff \
man3tiff/TIFFPrintDirectory.3tiff \
man3tiff/TIFFRGBAImage.3tiff \
man3tiff/TIFFRGBAImageBegin.3tiff \
man3tiff/TIFFRGBAImageEnd.3tiff \
man3tiff/TIFFRGBAImageGet.3tiff \
man3tiff/TIFFRGBAImageOK.3tiff \
man3tiff/TIFFRGBAImageOriented.3tiff \
man3tiff/TIFFRasterScanlineSize.3tiff \
man3tiff/TIFFReadBufferSetup.3tiff \
man3tiff/TIFFReadDirectory.3tiff \
man3tiff/TIFFReadEncodedStrip.3tiff \
man3tiff/TIFFReadEncodedTile.3tiff \
man3tiff/TIFFReadRGBAImage.3tiff \
man3tiff/TIFFReadRGBAStrip.3tiff \
man3tiff/TIFFReadRGBATile.3tiff \
man3tiff/TIFFReadRawStrip.3tiff \
man3tiff/TIFFReadRawTile.3tiff \
man3tiff/TIFFReadScanline.3tiff \
man3tiff/TIFFReadTile.3tiff \
man3tiff/TIFFRegisterCODEC.3tiff \
man3tiff/TIFFReverseBits.3tiff \
man3tiff/TIFFScanlineSize.3tiff \
man3tiff/TIFFSetDirectory.3tiff \
man3tiff/TIFFSetErrorHandler.3tiff \
man3tiff/TIFFSetField.3tiff \
man3tiff/TIFFSetSubDirectory.3tiff \
man3tiff/TIFFSetWarningHandler.3tiff \
man3tiff/TIFFStripSize.3tiff \
man3tiff/TIFFSwabArrayOfLong.3tiff \
man3tiff/TIFFSwabArrayOfShort.3tiff \
man3tiff/TIFFSwabLong.3tiff \
man3tiff/TIFFSwabShort.3tiff \
man3tiff/TIFFTileRowSize.3tiff \
man3tiff/TIFFTileSize.3tiff \
man3tiff/TIFFUnRegisterCODEC.3tiff \
man3tiff/TIFFVGetField.3tiff \
man3tiff/TIFFVGetFieldDefaulted.3tiff \
man3tiff/TIFFVSetField.3tiff \
man3tiff/TIFFVStripSize.3tiff \
man3tiff/TIFFVTileSize.3tiff \
man3tiff/TIFFWarning.3tiff \
man3tiff/TIFFWriteBufferSetup.3tiff \
man3tiff/TIFFWriteDirectory.3tiff \
man3tiff/TIFFWriteEncodedStrip.3tiff \
man3tiff/TIFFWriteEncodedTile.3tiff \
man3tiff/TIFFWriteRawStrip.3tiff \
man3tiff/TIFFWriteRawTile.3tiff \
man3tiff/TIFFWriteScanline.3tiff \
man3tiff/TIFFWriteTile.3tiff \
man3tiff/TIFFbuffer.3tiff \
man3tiff/TIFFcodec.3tiff \
man3tiff/TIFFmemory.3tiff \
man3tiff/TIFFquery.3tiff \
man3tiff/TIFFsize.3tiff \
man3tiff/TIFFstrip.3tiff \
man3tiff/TIFFswab.3tiff \
man3tiff/TIFFtile.3tiff \
man3tiff/_TIFFfree.3tiff \
man3tiff/_TIFFmalloc.3tiff \
man3tiff/_TIFFmemcmp.3tiff \
man3tiff/_TIFFmemcpy.3tiff \
man3tiff/_TIFFmemset.3tiff \
man3tiff/_TIFFrealloc.3tiff
SUNWTiff.PAGES: $(SUNWTiff_PAGES)
SUNWcheese_PAGES = \
man1/cheese.1
SUNWcheese.PAGES: $(SUNWcheese_PAGES)
SUNWconsolekit_PAGES = \
man1/ck-history.1 \
man1/ck-launch-session.1 \
man1/ck-list-sessions.1 \
man1m/ck-seat-tool.1m \
man1m/console-kit-daemon.1m
SUNWconsolekit.PAGES: $(SUNWconsolekit_PAGES)
SUNWdbus_PAGES = \
man1/dbus-cleanup-sockets.1 \
man1/dbus-daemon.1 \
man1/dbus-launch.1 \
man1/dbus-monitor.1 \
man1/dbus-send.1 \
man1/dbus-uuidgen.1 \
man3/libdbus-1.3
SUNWdbus.PAGES: $(SUNWdbus_PAGES)
SUNWdbus-glib_PAGES = \
man1/dbus-binding-tool.1 \
man3/libdbus-glib-1.3
SUNWdbus-glib.PAGES: $(SUNWdbus-glib_PAGES)
SUNWevolution-libs_PAGES = \
man1/gtkhtml-editor-test.1 \
man3/libgtkhtml-editor.3 \
man3/libgtkhtml-3.14.3
SUNWevolution-libs.PAGES: $(SUNWevolution-libs_PAGES)
SUNWevolution-exchange_PAGES = \
man1/exchange-connector-setup.1
SUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
SUNWevolution_PAGES = \
man1/evolution.1
SUNWevolution.PAGES: $(SUNWevolution_PAGES)
SUNWevolution-data-server_PAGES = \
man3/libedata-book-1.2.3 \
man3/libedata-cal-1.2.3 \
man3/libedataserver-1.2.3 \
man3/libedataserverui-1.2.3 \
man3/libcamel-1.2.3 \
man3/libgdata-google-1.2.3 \
man3/libebook-1.2.3 \
man3/libgdata-1.2.3 \
man3/libecal-1.2.3
SUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
SUNWevolution-webcal_PAGES = \
man1/evolution-webcal.1
SUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
SUNWfirefox_PAGES = \
man1/firefox.1
SUNWfirefox.PAGES: $(SUNWfirefox_PAGES)
SUNWgnome-a11y-dasher_PAGES = \
man1/dasher.1
SUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
SUNWgnome-a11y-libs_PAGES = \
man1/magnifier.1 \
man1/at-spi-registryd.1 \
man3/at-spi.3 \
man3/libspi.3 \
man3/libloginhelper.3 \
man3/libgnome-mag.3 \
man3/libcspi.3
SUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
SUNWgnome-a11y-mousetweaks_PAGES = \
man1/mousetweaks.1 \
man1/dwell-click-applet.1 \
man1/pointer-capture-applet.1
SUNWgnome-a11y-mousetweaks.PAGES: $(SUNWgnome-a11y-mousetweaks_PAGES)
SUNWgnome-a11y-reader_PAGES = \
man1/orca.1
SUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
SUNWgnome-a11y-speech_PAGES = \
man1/test-speech.1 \
man1/espeak-synthesis-driver.1 \
man3/libgnomespeech.3
SUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
SUNWgnome-a11y-poke_PAGES = \
man1/accerciser.1
SUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
SUNWgnome-archive-mgr_PAGES = \
man1/file-roller.1
SUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
SUNWgnome-audio_PAGES = \
man1/audiofile-config.1 \
man3/libaudiofile.3
SUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
SUNWglib2_PAGES = \
man1/glib-genmarshal.1 \
man1/glib-gettextize.1 \
man1/glib-mkenums.1 \
man1/gobject-query.1 \
man3/libgio-2.0.3 \
man3/libglib-2.0.3 \
man3/libgmodule-2.0.3 \
man3/libgobject-2.0.3 \
man3/libgthread-2.0.3 \
man5/gnome-interfaces.5 \
entities/gnomecommon.ent
SUNWglib2.PAGES: $(SUNWglib2_PAGES)
SUNWcairo_PAGES = \
man3/libcairo.3
SUNWcairo.PAGES: $(SUNWcairo_PAGES)
SUNWpango_PAGES = \
man1/pango-querymodules.1 \
man3/libpango-1.0.3 \
man3/libpangocairo-1.0.3 \
man3/libpangoft2-1.0.3 \
man3/libpangoxft-1.0.3 \
man3/libpangox-1.0.3
SUNWpango.PAGES: $(SUNWpango_PAGES)
SUNWlibatk_PAGES = \
man3/libatk-1.0.3
SUNWlibatk.PAGES: $(SUNWlibatk_PAGES)
SUNWgdk-pixbuf_PAGES = \
man1/gdk-pixbuf-csource.1 \
man1/gdk-pixbuf-query-loaders.1 \
man3/libgdk_pixbuf-2.0.3 \
man3/libgdk_pixbuf_xlib-2.0.3
SUNWgdk-pixbuf.PAGES: $(SUNWgdk-pixbuf_PAGES)
SUNWgtk2_PAGES = \
man1/gtk-query-immodules-2.0.1 \
man1/gtk-update-icon-cache.1 \
man1/gtk-builder-convert.1 \
man3/libgailutil.3 \
man3/libgdk-x11-2.0.3 \
man3/libgtk-x11-2.0.3
SUNWgtk2.PAGES: $(SUNWgtk2_PAGES)
SUNWlibglade_PAGES = \
man3/libglade-2.0.3
SUNWlibglade.PAGES: $(SUNWlibglade_PAGES)
SUNWlibart_PAGES = \
man1/libart2-config.1 \
man3/libart_lgpl_2.3
SUNWlibart.PAGES: $(SUNWlibart_PAGES)
SUNWlibgnomecanvas_PAGES = \
man3/libgnomecanvas-2.3
SUNWlibgnomecanvas.PAGES: $(SUNWlibgnomecanvas_PAGES)
SUNWgnome-base-libs-java_PAGES = \
man3/java-gnome.3
SUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
SUNWgnome-calculator_PAGES = \
man1/gcalctool.1 \
man1/gnome-calculator.1
SUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
SUNWgnome-cd_PAGES = \
man1/gnome-cd.1 \
man1/sound-juicer.1
SUNWgnome-cd.PAGES: $(SUNWgnome-cd_PAGES)
SUNWgnome-character-map_PAGES = \
man1/charmap.1 \
man1/gucharmap.1 \
man1/gnome-character-map.1
SUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
SUNWgnome-common-devel_PAGES = \
man1/intltool-extract.1 \
man1/intltool-merge.1 \
man1/intltool-prepare.1 \
man1/intltool-update.1 \
man1/intltoolize.1 \
man1/pkg-config.1
SUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
SUNWgnome-component_PAGES = \
man1/orbit-idl-2.1 \
man1/activation-client.1 \
man1/orbit2-config.1 \
man1/bonobo-slay.1 \
man3/libORBit-2.3 \
man3/libbonobo-activation.3 \
man3/libIDL-2.3 \
man3/libbonobo-2.3 \
man3/libORBitCosNaming-2.3
SUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
SUNWgnome-config-editor_PAGES = \
man1/gconf-editor.1
SUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
SUNWgnome-config_PAGES = \
man1/gconftool-2.1 \
man3/libgconf-2.3
SUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
SUNWgnome-crash-report_PAGES = \
man1/bug-buddy.1
SUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
SUNWgnome-desktop-prefs_PAGES = \
man1/update-desktop-database.1 \
man1/gnome-about-me.1 \
man1/gnome-appearance-properties.1 \
man1/gnome-at-properties.1 \
man1/gnome-control-center.1 \
man1/gnome-default-applications-properties.1 \
man1/gnome-display-properties.1 \
man1/gnome-keybinding-properties.1 \
man1/gnome-keyboard-properties.1 \
man1/gnome-mouse-properties.1 \
man1/gnome-network-properties.1 \
man1/gnome-window-properties.1 \
man1/gnome-font-viewer.1
SUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
SUNWgnome-dialog_PAGES = \
man1/zenity.1 \
man1/gdialog.1
SUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
SUNWgnome-display-mgr_PAGES = \
man1/gdmdynamic.1 \
man1/gdmflexiserver.1 \
man1/gdm-screenshot.1 \
man1m/gdm.1m \
man1m/gdm-binary.1m \
man1m/gdm-stop.1m
SUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
SUNWgnome-file-mgr_PAGES = \
man1/nautilus.1 \
man1/nautilus-file-management-properties.1
SUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
SUNWgnome-gtksourceview_PAGES = \
man3/libgtksourceview-2.0.3
SUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
SUNWgnome-gvfs_PAGES = \
man1/gvfs-cat.1 \
man1/gvfs-copy.1 \
man1/gvfs-info.1 \
man1/gvfs-less.1 \
man1/gvfs-ls.1 \
man1/gvfs-mkdir.1 \
man1/gvfs-monitor-dir.1 \
man1/gvfs-monitor-file.1 \
man1/gvfs-mount.1 \
man1/gvfs-move.1 \
man1/gvfs-rename.1 \
man1/gvfs-open.1 \
man1/gvfs-rm.1 \
man1/gvfs-save.1 \
man1/gvfs-trash.1 \
man1/gvfs-tree.1
SUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
SUNWgnome-help-viewer_PAGES = \
man1/gnome-help.1 \
man1/yelp.1
SUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
SUNWgnome-im-client_PAGES = \
man1/pidgin.1 \
man1/purple-remote.1 \
man1/purple-send.1 \
man1/purple-send-async.1 \
man1/purple-url-handler.1 \
man1/otr_mackey.1 \
man1/otr_modify.1 \
man1/otr_parse.1 \
man1/otr_readforge.1 \
man1/otr_remac.1 \
man1/otr_sesskeys.1 \
man3/libpurple.3 \
man3/libpurple-client.3 \
man3/libotr.3
SUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
SUNWgnome-meeting_PAGES = \
man1/ekiga.1
SUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
SUNWgnome-img-viewer_PAGES = \
man1/eog.1
SUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
SUNWgnome-libs_PAGES = \
man1/scrollkeeper-config.1 \
man1/scrollkeeper-devel.1 \
man1/scrollkeeper-extract.1 \
man1/scrollkeeper-gen-seriesid.1 \
man1/scrollkeeper-get-cl.1 \
man1/scrollkeeper-get-content-list.1 \
man1/scrollkeeper-get-extended-content-list.1 \
man1/scrollkeeper-get-index-from-docpath.1 \
man1/scrollkeeper-get-toc-from-docpath.1 \
man1/scrollkeeper-get-toc-from-id.1 \
man1/scrollkeeper-install.1 \
man1/scrollkeeper-preinstall.1 \
man1/scrollkeeper-rebuilddb.1 \
man1/scrollkeeper-uninstall.1 \
man1/scrollkeeper-update.1 \
man1/scrollkeeper.1 \
man1/gnome-open.1 \
man3/libbonoboui-2.3 \
man3/libgnome-2.3 \
man3/libgnomeui-2.3
SUNWgnome-libs.PAGES: $(SUNWgnome-libs_PAGES)
SUNWgnome-media-player_PAGES = \
man1/rhythmbox.1 \
man1/rhythmbox-client.1 \
man1/totem.1 \
man1/totem-audio-preview.1 \
man1/totem-video-indexer.1 \
man1/totem-video-thumbnailer.1
SUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
SUNWgnome-media_PAGES = \
man1/gst-feedback.1 \
man1/gst-inspect.1 \
man1/gst-launch.1 \
man1/gst-typefind.1 \
man1/gst-xmlinspect.1 \
man1/gst-xmllaunch.1 \
man3/libgstreamer-0.10.3 \
man3/libgstbase-0.10.3 \
man5/gst-std-options.5
SUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
SUNWgnome-menu-editor_PAGES = \
man1/alacarte.1
SUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
SUNWgnome-panel_PAGES = \
man1/gnome-about.1 \
man1/gnome-desktop-item-edit.1 \
man1/gnome-panel.1 \
man1/notify-send.1 \
man1/gnome-cleanup.1 \
man3/libgnome-desktop-2.3 \
man3/libpanel-applet-2.3 \
man3/libnotify.3 \
man5/gnome-std-options.5
SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
SUNWgnome-pdf-viewer_PAGES = \
man1/evince.1 \
man1/gpdf.1 \
man1/ggv.1
SUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
SUNWgnome-pilot_PAGES = \
man1/gpilot-install-file.1 \
man1/gpilotd-control-applet.1 \
man1/gpilotd.1 \
man3/libgpilotd.3 \
man3/libgpilotdcm.3 \
man3/libgpilotdconduit.3
SUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
SUNWpilot-link_PAGES = \
man3/libpisock.3 \
man3/libpisync.3
SUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
SUNWgnome-removable-media_PAGES = \
man1/gnome-volcheck.1
SUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
SUNWgnome-remote-desktop_PAGES = \
man1/vino-server.1 \
man1/vino-passwd.1 \
man1/vino-preferences.1
SUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
SUNWgnome-session_PAGES = \
man1/gnome-session.1 \
man1/gnome-session-properties.1 \
man1/gnome-session-save.1 \
man1/gnome-wm.1
SUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
SUNWgnome-system-tools_PAGES = \
man1/users-admin.1
SUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
SUNWgnome-system-monitor_PAGES = \
man1/gnome-system-monitor.1
SUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
SUNWgnome-terminal_PAGES = \
man1/gnome-terminal.1 \
man1/vte.1 \
man3/libvte.3
SUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
SUNWgnome-text-editor_PAGES = \
man1/gedit.1 \
man1/gnome-text-editor.1
SUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
SUNWgnome-ui-designer_PAGES = \
man1/glade-3.1
SUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
SUNWgnome-utils_PAGES = \
man1/gnome-dictionary.1 \
man1/gnome-search-tool.1 \
man1/gnome-panel-screenshot.1 \
man1/gnome-screenshot.1
SUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
SUNWgnome-vfs_PAGES = \
man1/gnomevfs-cat.1 \
man1/gnomevfs-copy.1 \
man1/gnomevfs-info.1 \
man1/gnomevfs-ls.1 \
man1/gnomevfs-mkdir.1 \
man1/update-mime-database.1 \
man3/libgnomevfs-2.3 \
man4/gnome-vfs-mime-magic.4 \
man4/gnome-vfs.applications.4 \
man4/gnome-vfs.keys.4 \
man4/gnome-vfs.mime.4
SUNWgnome-vfs.PAGES: $(SUNWgnome-vfs_PAGES)
SUNWgnome-wm_PAGES = \
man1/metacity.1 \
man1/metacity-message.1 \
man1/metacity-theme-viewer.1
SUNWgnome-wm.PAGES: $(SUNWgnome-wm_PAGES)
SUNWjpg_PAGES = \
man1/cjpeg.1 \
man1/djpeg.1 \
man1/jpegtran.1 \
man1/rdjpgcom.1 \
man1/wrjpgcom.1 \
man3/libjpeg.3
SUNWjpg.PAGES: $(SUNWjpg_PAGES)
SUNWlibical_PAGES = \
man3/libical.3 \
man3/libicalss.3 \
man3/libicalvcal.3
SUNWlibical.PAGES: $(SUNWlibical_PAGES)
SUNWlibpopt_PAGES = \
man3/libpopt.3
SUNWlibpopt.PAGES: $(SUNWlibpopt_PAGES)
SUNWlibrsvg_PAGES = \
man1/rsvg.1 \
man3/librsvg-2.3
SUNWlibrsvg.PAGES: $(SUNWlibrsvg_PAGES)
SUNWogg-vorbis_PAGES = \
man3/libogg.3 \
man3/libvorbis.3
SUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
SUNWpng_PAGES = \
man3/libpng.3 \
man3/libpngpf.3 \
man4/png.4
SUNWpng.PAGES: $(SUNWpng_PAGES)
SUNWpulseaudio_PAGES = \
man5/pulse-daemon.conf.5 \
man5/pulse-client.conf.5
SUNWpulseaudio.PAGES: $(SUNWpulseaudio_PAGES)
SUNWthunderbird_PAGES = \
man1/thunderbird.1
SUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
SUNWgnome-devhelp_PAGES = \
man1/devhelp.1 \
man3/libdevhelp-1.3
SUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
SUNWgnome-power-manager_PAGES = \
man1/gnome-power-manager.1 \
man1/gnome-power-preferences.1 \
man1/gnome-power-statistics.1
SUNWgnome-power-manager.PAGES: $(SUNWgnome-power-manager_PAGES)
SUNWfsexam_PAGES = \
man1/fsexam.1 \
man4/fsexam.4
SUNWfsexam.PAGES: $(SUNWfsexam_PAGES)
SUNWxdg-user-dirs_PAGES = \
man1/xdg-user-dir.1 \
man1/xdg-user-dirs-update.1
SUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
SUNWxdg-user-dirs-gtk_PAGES = \
man1/xdg-user-dirs-gtk-update.1
SUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
SUNWgamin_PAGES = \
man1/gam_server.1 \
man3/libgamin-1.3
SUNWgamin.PAGES: $(SUNWgamin_PAGES)
SUNWlibtasn1_PAGES = \
man3/libtasn1.3
SUNWlibtasn1.PAGES: $(SUNWlibtasn1_PAGES)
SUNWlibgmime_PAGES = \
man3/libgmime.3
SUNWlibgmime.PAGES: $(SUNWlibgmime_PAGES)
SUNWlibgnome-media_PAGES = \
man1/gnome-audio-profiles-properties.1 \
man3/libgnome-media-profiles.3
SUNWlibgnome-media.PAGES: $(SUNWlibgnome-media_PAGES)
SUNWliboil_PAGES = \
man1/oil-bugreport.1 \
man3/liboil-0.3.3
SUNWliboil.PAGES: $(SUNWliboil_PAGES)
SUNWgnome-spell_PAGES = \
man1/enchant.1 \
man1/enchant-lsmod.1 \
man3/libenchant.3
SUNWgnome-spell.PAGES: $(SUNWgnome-spell_PAGES)
SUNWlibgtop_PAGES = \
man3/libgtop-2.0.3
SUNWlibgtop.PAGES: $(SUNWlibgtop_PAGES)
SUNWglibmm_PAGES = \
man3/libgiomm-2.4.3 \
man3/libglibmm-2.4.3
SUNWglibmm.PAGES: $(SUNWglibmm_PAGES)
SUNWsigcpp_PAGES = \
man3/libsigc-2.0.3
SUNWsigcpp.PAGES: $(SUNWsigcpp_PAGES)
SUNWlibsoup_PAGES = \
man3/libsoup-2.4.3
SUNWlibsoup.PAGES: $(SUNWlibsoup_PAGES)
SUNWlibproxy_PAGES = \
man3/libproxy.3
SUNWlibproxy.PAGES: $(SUNWlibproxy_PAGES)
SUNWgnutls_PAGES = \
man3/libgnutls.3 \
man3/libgnutlsxx.3
SUNWgnutls.PAGES: $(SUNWgnutls_PAGES)
SUNWlibcanberra_PAGES = \
man1/canberra-gtk-play.1 \
man3/libcanberra.3 \
man3/libcanberra-gtk.3
SUNWlibcanberra.PAGES: $(SUNWlibcanberra_PAGES)
SUNWlibcroco_PAGES = \
man1/croco-0.6-config.1 \
man1/csslint-0.6.1 \
man3/libcroco-0.6.3
SUNWlibcroco.PAGES: $(SUNWlibcroco_PAGES)
SUNWlibgcrypt_PAGES = \
man1/libgcrypt-config.1 \
man1/dumpsexp.1 \
man3/libgcrypt.3
SUNWlibgcrypt.PAGES: $(SUNWlibgcrypt_PAGES)
SUNWlibgpg-error_PAGES = \
man1/gpg-error-config.1 \
man1/gpg-error.1 \
man3/libgpg-error.3
SUNWlibgpg-error.PAGES: $(SUNWlibgpg-error_PAGES)
SUNWgnome-camera_PAGES = \
man1/gphoto2-config.1 \
man1/gphoto2-port-config.1 \
man1/gexif.1
SUNWgnome-camera.PAGES: $(SUNWgnome-camera_PAGES)
SUNWgtkspell_PAGES = \
man3/libgtkspell.3
SUNWgtkspell.PAGES: $(SUNWgtkspell_PAGES)
SUNWgtkmm_PAGES = \
man3/libgtkmm-2.4.3 \
man3/libatkmm-1.6.3 \
man3/libgdkmm-2.4.3
SUNWgtkmm.PAGES: $(SUNWgtkmm_PAGES)
SUNWpangomm_PAGES = \
man3/libpangomm-1.4.3
SUNWpangomm.PAGES: $(SUNWpangomm_PAGES)
SUNWespeak_PAGES = \
man1/espeak.1 \
man3/libespeak.3
SUNWespeak.PAGES: $(SUNWespeak_PAGES)
SUNWgnome-nettool_PAGES = \
man1/gnome-nettool.1
SUNWgnome-nettool.PAGES: $(SUNWgnome-nettool_PAGES)
SUNWw3m_PAGES = \
man1/w3m.1 \
man1/w3mman.1
SUNWw3m.PAGES: $(SUNWw3m_PAGES)
SUNWlibgsf_PAGES = \
man1/gsf.1 \
man1/gsf-office-thumbnailer.1 \
man1/gsf-vba-dump.1 \
man3/libgsf-1.3 \
man3/libgsf-gnome-1.3
SUNWlibgsf.PAGES: $(SUNWlibgsf_PAGES)
SUNWseahorse_PAGES = \
man1/seahorse.1 \
man1/seahorse-daemon.1 \
man3/libcryptui.3
SUNWseahorse.PAGES: $(SUNWseahorse_PAGES)
SUNWdesktop-search_PAGES = \
man1/tracker-processes.1 \
man1/tracker-indexer.1
SUNWdesktop-search.PAGES: $(SUNWdesktop-search_PAGES)
SUNWdia_PAGES = \
man1/dia.1
SUNWdia.PAGES: $(SUNWdia_PAGES)
SUNWgtk-vnc_PAGES = \
man3/libgtk-vnc-1.0.3
SUNWgtk-vnc.PAGES: $(SUNWgtk-vnc_PAGES)
SUNWdrivel_PAGES = \
man1/drivel.1
SUNWdrivel.PAGES: $(SUNWdrivel_PAGES)
SUNWvinagre_PAGES = \
man1/vinagre.1
SUNWvinagre.PAGES: $(SUNWvinagre_PAGES)
SUNWlibunique_PAGES = \
man3/libunique-1.0.3
SUNWlibunique.PAGES: $(SUNWlibunique_PAGES)
SUNWbabl_PAGES = \
man3/libbabl-0.0.3
SUNWbabl.PAGES: $(SUNWbabl_PAGES)
SUNWgegl_PAGES = \
man1/gegl.1 \
man3/libgegl-0.0.3
SUNWgegl.PAGES: $(SUNWgegl_PAGES)
SUNWlibtheora_PAGES= \
man3/libtheora.3 \
man3/libtheoraenc.3 \
man3/libtheoradec.3
SUNWlibtheora.PAGES: $(SUNWlibtheora_PAGES)
SUNWflac_PAGES= \
man3/libFLAC.3
SUNWflac.PAGES: $(SUNWlibflac_PAGES)
SUNWspeex_PAGES= \
man3/libspeex.3 \
man3/libspeexdsp.3
SUNWspeex.PAGES: $(SUNWspeex_PAGES)
SUNWgnome-keyring_PAGES= \
man1/gnome-keyring-daemon.1
SUNWgnome-keyring.PAGES: $(SUNWgnome-keyring_PAGES)
SUNWlibgnome-keyring_PAGES= \
man3/libgnome-keyring.3
SUNWlibgnome-keyring.PAGES: $(SUNWlibgnome-keyring_PAGES)
SUNWlibxklavier_PAGES= \
man3/libxklavier.3
SUNWlibxklavier.PAGES: $(SUNWlibxklavier_PAGES)
SUNWgnome-keyboard-libs_PAGES= \
man3/libgnomekbd.3 \
man3/libgnomekbdui.3
SUNWgnome-keyboard-libs.PAGES: $(SUNWgnome-keyboard-libs_PAGES)
SUNWavant_PAGES = \
man1/avant-window-navigator.1 \
man1/awn-launcher-editor.1 \
man1/awn-applet-activation.1 \
man1/awn-schema-to-gconf.1 \
man1/awn-manager.1 \
man3/libawn.3
SUNWavant.PAGES: $(SUNWavant_PAGES)
SUNWbluefish_PAGES = \
man1/bluefish.1
SUNWbluefish.PAGES: $(SUNWbluefish_PAGES)
SUNWgftp_PAGES = \
man1/gftp.1
SUNWgftp.PAGES: $(SUNWgftp_PAGES)
SUNWpython26-coherence_PAGES = \
man1/coherence.1
SUNWpython26-coherence.PAGES: $(SUNWpython26-coherence_PAGES)
SUNWlibgoffice_PAGES = \
man3/libgoffice-0.8.3
SUNWlibgoffice.PAGES: $(SUNWlibgoffice_PAGES)
SUNWopenproj_PAGES = \
man1/openproj.1
SUNWopenproj.PAGES: $(SUNWtransmission_PAGES)
SUNWtransmission_PAGES = \
man1/transmission.1 \
man1/transmissioncli.1 \
man1/transmission-daemon.1 \
man1/transmission-remote.1
SUNWtransmission.PAGES: $(SUNWtransmission_PAGES)
SUNWtsclient_PAGES = \
man1/tsclient.1
SUNWtsclient.PAGES: $(SUNWtsclient_PAGES)
.SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
.SUFFIXES: .check-used .PAGES
TARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
TARBALLS:
@test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
@rm -rf $(TARBALL_DIR)/*.tar.gz
@test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
@test -x $(GZIP) || echo "gzip utility not found"
@for package in $(PACKAGES); do \
$(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
done
%-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
@test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
@if test -f $(TARBALL_DIR)/$@; then \
rm -f $(TARBALL_DIR)/$@; \
fi
@rm -rf $(MANPAGE_DIR)/*
@test -d $(MANPAGE_DIR) || mkdir -p "$(MANPAGE_DIR)"
@echo "Converting manpages for $@"
@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
base_manpage=`basename $$manpage`; \
echo " $$base_manpage"; \
suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$$'`; \
if [ $$suffix = "ent" ]; then \
cp $$manpage $(MANPAGE_DIR); \
else \
$(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
$(GREP) "<!--ARC" $$manpage | $(AWK) '{ \
idx1 = index($$0, "ARC "); \
idx2 = index($$0, "-->"); \
if (idx1 > 0 && idx2 > 0) { \
print "...\\\" " substr($$0, idx1+6, idx2-(idx1+6)); \
} \
}' >> $(MANPAGE_DIR)/$$base_manpage; \
fi;\
echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
done
@cp Makefile.template $(MANPAGE_DIR)/Makefile
@if test -f $(MANPAGE_DIR)/ent; then \
mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
fi
@for mantype in entities 1 1m 3 3tiff 4 5; do \
if test -f $(MANPAGE_DIR)/$$mantype; then \
echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
$(AWK) '{ \
if (length(saved_page) > 0) \
print " " saved_page " \\"; \
saved_page=$$0; \
} \
END { \
print " " saved_page; \
}' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
echo "" >> $(MANPAGE_DIR)/Makefile; \
fi; \
done
@echo "install:" >> $(MANPAGE_DIR)/Makefile
@for mantype in entities 1 1m 3 3tiff 4 5; do \
if test -f $(MANPAGE_DIR)/$$mantype; then \
echo " install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
echo " for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
echo " install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
echo " done" >> $(MANPAGE_DIR)/Makefile; \
rm -f $(MANPAGE_DIR)/$$mantype; \
fi; \
done
@tarball=`basename "$@" .gz`; echo "Making tarball $$tarball"; \
$(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
$(GZIP) $(TARBALL_DIR)/$$tarball
@rm -rf $(MANPAGE_DIR)
check-used:
@test -d check-used-manpages || mkdir -p "check-used-manpages"
@test -d check-all-manpages || mkdir -p "check-all-manpages"
@rm -f unused-manpages.txt
@cp entities/* man*/* check-all-manpages
@for package in $(PACKAGES); do \
$(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
done
@all_manpages=`ls check-all-manpages/*`; \
for manpage in $$all_manpages; do \
base_manpage=`basename $$manpage`; \
if test -f check-used-manpages/$$base_manpage; then \
echo " "$$base_manpage >> /dev/null; \
else \
echo " "$$base_manpage >> unused-manpages.txt; \
fi; \
done
@if test -f unused-manpages.txt; then \
echo "Following Manpages are not being used in any SUNW package :"; \
cat unused-manpages.txt; \
rm -f unused-manpages.txt; \
else \
echo "All man pages are being used"; \
fi
@rm -rf check-all-manpages
@rm -rf check-used-manpages
%.check-used: %.PAGES
@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
cp $$manpage check-used-manpages; \
done
check-version:
@echo $(MANPAGE_VERSION)
clean:
rm -rf $(MANPAGE_DIR)
rm $(TARBALL_DIR)/*.tar.gz