Makefile revision 15522
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews##
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# Makefile for generateing .po tarballs for Sun UI strings.
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater#
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Generates : $(PACKAGE)-po-sun-$(PO_VERSION).tar.bz2
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# e.g. po-sun-tarballs/*.tar.bz2
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# Usage :
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# "make clean" : Remove previous tarballs
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# "make" : Update all .po tarballs
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# "make check-used" : Outputs list of .po not being used.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# "make check-version" : Prints current .po tarball version
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater#
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# "make $(PACKAGE)-po-sun-$(PO_VERSION).tar.bz2
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# e.g. "make gnome-panel-po-sun-0.1.tar.bz2"
58be84825d7f5de30e50eb7206b37227ecd8055bAutomatic Updater# will only generate gnome-panel's .po tarball
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For each package that contains .po files.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# - Ensure all .po files for your package are located under the
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# correct .po package dir i.e.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater# $package/ja.po
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# - Add Package name to PACKAGES Variable
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# e.g. PACKAGES = \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# gnome-panel \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# your-package
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# - Add two package specific variables
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# PACKAGE_PAGES - Full path of all po for this package
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# e.g. gnome-panel_PAGES = gnome-panel
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# e.g. gnome-panel.PAGES: $(gnome-panel_PAGES)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt#
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater#
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# To Add new .po files to existing packages
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# -----------------------------------------
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Put very simply, all that is required from engineers is to make some changes
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# and commit in SVN.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater#
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# - Ensure the .po file exists in SVN under the relevant package dir
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# - Add .po files to the <package> directory
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# e.g. For a new gnome-panel de.po file it would be added in
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# gnome-panel/de.po
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - Remake tarballs
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# $ make clean
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# $ make
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# This will re-generate all .po tarballs.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - Copy newly generated tarball from po-sun-tarballs to package build
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# sources e.g. /jds/packages/SOURCES, and ensure package builds and po
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# install correctly.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - New .po tarball will be generated by RE for each nightly, and for each
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# milestone build.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# - Commit change back to subverison, e.g. new/amended man pagees,
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# po-sun/Makefile, po-sun/package/*.po files if affected.
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews#
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews#
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# PO_VERSION is maintained by L10N and only gets bumped when spec-files gets
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# branched. PLEASE do not change this.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# %po_sun_version is also updated in l10n.inc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updater
129090f0f6f91753b4a085ab635e28549fd018adAutomatic UpdaterPO_VERSION=0.1
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsPO_DIR=po-sun
d7a77415c13bb2fc2d1acb857486d97e4466e3b8Automatic UpdaterTARBALL_DIR=po-sun-tarballs
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsBZIP2=/usr/bin/bzip2
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic UpdaterTAR=/usr/bin/tar
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterAWK=/usr/bin/awk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsMAKE=/usr/sfw/bin/gmake
1a06700908f5a1d9f4a8d51285a0fd971e2f9117Automatic UpdaterNULL=
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic UpdaterPACKAGES = \
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic Updater alacarte \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews dasher \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater devhelp \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson ekiga \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater eog \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater evince \
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews evolution \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater file-roller \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson gcalctool \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater gdesklets \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater gdm \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson gedit \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater ghex \
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater gimp \
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater glade \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gnome-control-center \
b1265b5a06df36d490d4bdf54284fb133a1f5a84Automatic Updater gnome-desktop \
9174e44c14b1cb91a651fa1dc29470438c246ab9Automatic Updater gnome-keyring-manager \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gnome-media \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont gnome-menus \
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater gnome-netstatus \
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater gnome-panel \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont gnome-pilot \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews gnome-power-manager \
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater gnome-session \
e23256e740b238bddb4ba41ffac5f81a01c92245Automatic Updater gnome-system-monitor \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews gnome-system-tools \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gnome-terminal \
08e3b6797706a13054bad749dea04e94b514b8e7Automatic Updater gnome-utils \
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater gnome-vfs \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gnome-volume-manager \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gok \
b29e5c56eb74a6de1a84c29879afc90ffc6b1436Automatic Updater gthumb \
418cc932318b1d67f88a36904d88d8a5a0a2ba09Automatic Updater gtk2 \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews gtkam \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews gucharmap \
0977f3f39ef6728516be7976452b9122c8f5607aAutomatic Updater libwnck \
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater metacity \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews nautilus \
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater orca \
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater pidgin \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater printman \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater sound-juicer \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater system-config-printer \
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater totem \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater tracker \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater vino \
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater yelp \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater $(NULL)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonall: TARBALLS
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsalacarte_PAGES = alacarte/po-sun
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonalacarte.PAGES: $(alacarte_PAGES)
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaterdasher_PAGES = dasher/po-sun
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaterdasher.PAGES: $(dasher_PAGES)
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updaterdevhelp_PAGES = devhelp/po-sun
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updaterdevhelp.PAGES: $(devhelp_PAGES)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonekiga_PAGES = ekiga/po-sun
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterekiga.PAGES: $(ekiga_PAGES)
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic Updater
27794bebe2634b5ac374e78972649c79300b876aAutomatic Updatereog_PAGES = eog/po-sun
27794bebe2634b5ac374e78972649c79300b876aAutomatic Updatereog.PAGES: $(eog_PAGES)
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updaterevince_PAGES = evince/po-sun
27794bebe2634b5ac374e78972649c79300b876aAutomatic Updaterevince.PAGES: $(evince_PAGES)
be63e68c516117af6af8850904e46a89c7d4423eAutomatic Updater
ede7b1df75ac53a9530bbbc9fc9db534cab82f44Automatic Updaterevolution_PAGES = evolution/po-sun
c453a50776145e9c1c3fc9c846cfa11f42505081Automatic Updaterevolution.PAGES: $(evolution_PAGES)
f4029eb7463e99df00618de89f0bee5ac062a237Automatic Updater
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updaterfile-roller_PAGES = file-roller/po-sun
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updaterfile-roller.PAGES: $(file-roller_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updatergcalctool_PAGES = gcalctool/po-sun
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatergcalctool.PAGES: $(gcalctool_PAGES)
f4029eb7463e99df00618de89f0bee5ac062a237Automatic Updater
e628576d3b3d91c8954679077f4c208f1e43b433Automatic Updatergdesklets_PAGES = gdesklets/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergdesklets.PAGES: $(gdesklets_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updatergdm_PAGES = gdm/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergdm.PAGES: $(gdm_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updatergedit_PAGES = gedit/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergedit.PAGES: $(gedit_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updaterghex_PAGES = ghex/po-sun
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterghex.PAGES: $(ghex_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
9b1207058e739f5267dd1565cd04cc93092f068fAutomatic Updatergimp_PAGES = gimp/po-sun
c453a50776145e9c1c3fc9c846cfa11f42505081Automatic Updatergimp.PAGES: $(gimp_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updaterglade_PAGES = glade/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterglade.PAGES: $(glade_PAGES)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updatergnome-control-center_PAGES = gnome-control-center/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-control-center.PAGES: $(gnome-control-center_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-desktop_PAGES = gnome-desktop/po-sun
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updatergnome-desktop.PAGES: $(gnome-desktop_PAGES)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updatergnome-keyring-manager_PAGES = gnome-keyring-manager/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-keyring-manager.PAGES: $(gnome-keyring-manager_PAGES)
7262eb86f2b465822206122921e2f357218f0cfdAutomatic Updater
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrewsgnome-media_PAGES = gnome-media/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-media.PAGES: $(gnome-media_PAGES)
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
bbb069be941f649228760edcc241122933c066d2Automatic Updatergnome-menus_PAGES = gnome-menus/po-sun
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updatergnome-menus.PAGES: $(gnome-menus_PAGES)
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgnome-netstatus_PAGES = gnome-netstatus/po-sun
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updatergnome-netstatus.PAGES: $(gnome-netstatus_PAGES)
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgnome-panel_PAGES = gnome-panel/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-panel.PAGES: $(gnome-panel_PAGES)
e628576d3b3d91c8954679077f4c208f1e43b433Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgnome-pilot_PAGES = gnome-pilot/po-sun
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgnome-pilot.PAGES: $(gnome-pilot_PAGES)
c453a50776145e9c1c3fc9c846cfa11f42505081Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgnome-power-manager_PAGES = gnome-power-manager/po-sun
f7c88d61cc1ad2435b0b7cfaedfc9d5248c0be25Automatic Updatergnome-power-manager.PAGES: $(gnome-power-manager_PAGES)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-session_PAGES = gnome-session/po-sun gnome-session/po-logout
957a8884fb712885cdd8ef0474f5ff95ddc46b20Automatic Updatergnome-session.PAGES: $(gnome-session_PAGES)
b109432c3a939bff66a463be86c371bd88efe3aaAutomatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-system-monitor_PAGES = gnome-system-monitor/po-sun
995eaa289ba9709c64ef89b3776e53c36adc0010Automatic Updatergnome-system-monitor.PAGES: $(gnome-system-monitor_PAGES)
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatergnome-system-tools_PAGES = gnome-system-tools/po-sun
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtongnome-system-tools.PAGES: $(gnome-system-tools_PAGES)
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic Updatergnome-terminal_PAGES = gnome-terminal/po-sun
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updatergnome-terminal.PAGES: $(gnome-terminal_PAGES)
bf9b61c7904437745aeeb0f7d5036b35dad2a8a5Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatergnome-utils_PAGES = gnome-utils/po-sun
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic Updatergnome-utils.PAGES: $(gnome-utils_PAGES)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssongnome-vfs_PAGES = gnome-vfs/po-sun
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatergnome-vfs.PAGES: $(gnome-vfs_PAGES)
361bec4bdec45042897fb479b7071cd05bbd56b9Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatergnome-volume-manager_PAGES = gnome-volume-manager/po-sun
48b36fa08b2b5bc0d552dc2a4425b3f7007b3d59Automatic Updatergnome-volume-manager.PAGES: $(gnome-volume-manager_PAGES)
e5fe07a7ebff18f7ed4ac434b37daff6c8ee5d5bAutomatic Updater
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtongok_PAGES = gok/po-sun
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatergok.PAGES: $(gok_PAGES)
3857cb6fcabeb79d85de4b3e3e4ab99912b701f8Mark Andrews
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updatergthumb_PAGES = gthumb/po-sun
7858b0168b866c0c2878fc4ea31fb5e581c1a6a9Automatic Updatergthumb.PAGES: $(gthumb_PAGES)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
9174e44c14b1cb91a651fa1dc29470438c246ab9Automatic Updatergtk2_PAGES = gtk2/po-sun
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssongtk2.PAGES: $(gtk2_PAGES)
e2caa7536302de34de6cc04025abcd53dc3a499aAutomatic Updater
56e7dc0c24b04210dcbffb180a9e35644fb820daAutomatic Updatergtkam_PAGES = gtkam/po-sun
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updatergtkam.PAGES: $(gtkam_PAGES)
8292deab031e7599cd7622aa7675fbe139ca6095Mark Andrews
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrewsgucharmap_PAGES = gucharmap/po-sun
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrewsgucharmap.PAGES: $(gucharmap_PAGES)
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrews
ca35524ce2b57e6f1b261d23565d1288a355d12fAutomatic Updaterlibwnck_PAGES = libwnck/po-sun
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewslibwnck.PAGES: $(libwnck_PAGES)
b109432c3a939bff66a463be86c371bd88efe3aaAutomatic Updater
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updatermetacity_PAGES = metacity/po-sun
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsmetacity.PAGES: $(metacity_PAGES)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
3351ccbd5c1961404044f8273d54dad405f53960Mark Andrewsnautilus_PAGES = nautilus/po-sun
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updaternautilus.PAGES: $(nautilus_PAGES)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsorca_PAGES = orca/po-sun
3351ccbd5c1961404044f8273d54dad405f53960Mark Andrewsorca.PAGES: $(orca_PAGES)
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewspidgin_PAGES = pidgin/po-sun
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrewspidgin.PAGES: $(pidgin_PAGES)
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrewsprintman_PAGES = printman/po-sun
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updaterprintman.PAGES: $(printman_PAGES)
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updatersound-juicer_PAGES = sound-juicer/po-sun
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updatersound-juicer.PAGES: $(sound-juicer_PAGES)
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updatersystem-config-printer_PAGES = system-config-printer/po-sun
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updatersystem-config-printer.PAGES: $(sound-juicer_PAGES)
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updatertotem_PAGES = totem/po-sun
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updatertotem.PAGES: $(totem_PAGES)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatertracker_PAGES = tracker/po-sun
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updatertracker.PAGES: $(tracker_PAGES)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
f4029eb7463e99df00618de89f0bee5ac062a237Automatic Updatervino_PAGES = vino/po-sun
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatervino.PAGES: $(vino_PAGES)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrewsyelp_PAGES = yelp/po-sun
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsyelp.PAGES: $(yelp_PAGES)
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsTARBALL_DIR_SUFFIX = po-sun-$(PO_VERSION)
06f5acb11f1c32228d93eefd1eb841dbfb1c7f4dAutomatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater.SUFFIXES: -$(TARBALL_DIR_SUFFIX).tar.bz2 .PAGES
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater.SUFFIXES: .check-used .PAGES
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonTARBALLS = $(TARBALL_DIR)/$(addsuffix -$(TARBALL_DIR_SUFFIX).tar.bz2, $(PACKAGES))
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsTARBALLS:
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @test -x $(BZIP2) || echo "bzip2 utility not found"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @for package in $(PACKAGES); do \
b109432c3a939bff66a463be86c371bd88efe3aaAutomatic Updater if test ! -f $(TARBALL_DIR)/$$package-$(TARBALL_DIR_SUFFIX).tar.bz2; then \
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater $(MAKE) MAKE=\"$(MAKE)\" $$package-$(TARBALL_DIR_SUFFIX).tar.bz2; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater fi; \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater done
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater%-$(TARBALL_DIR_SUFFIX).tar.bz2: %.PAGES
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater @test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
b1265b5a06df36d490d4bdf54284fb133a1f5a84Automatic Updater @if test -f $(TARBALL_DIR)/$@; then \
bc0a4c01beede169df81a3ee5b614ed9e82339dbAutomatic Updater rm -f $(TARBALL_DIR)/$@; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington fi
665ba746c0585088d0c314dcfc4671aa2c7b2dc1Automatic Updater @test -d $(PO_DIR) || mkdir -p "$(PO_DIR)"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @rm -rf $(PO_DIR)/*
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @for po_dir in $($(subst .PAGES,_PAGES,$<)); do \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cp -R $$po_dir "$(PO_DIR)"; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington base_po_dir=`basename $$po_dir`; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cp Makefile.template "$(PO_DIR)"/$$base_po_dir/Makefile; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington done;
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @cd "$(PO_DIR)"; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington tarball=`basename "$@" .bz2`; echo "Making tarball $$tarball"; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(TAR) -cf ../$(TARBALL_DIR)/$$tarball *; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(BZIP2) ../$(TARBALL_DIR)/$$tarball; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cd ..
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @rm -rf $(PO_DIR)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoncheck-used:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @test -d check-used-po-sun || mkdir -p "check-used-po-sun"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @test -d check-all-po-sun || mkdir -p "check-all-po-sun"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @rm -f unused-po-sun.txt
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @for package in $(PACKAGES); do \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington done
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @rm -rf check-all-po-sun
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @rm -rf check-used-po-sun
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington%.check-used: %.PAGES
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @for package in $($(subst .PAGES,_PAGES,$<)); do \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington touch check-used-po-sun/$$package; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington done
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoncheck-version:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @echo $(PO_VERSION)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonclean:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington rm -rf $(PO_DIR)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington rm -rf $(TARBALL_DIR)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington