Makefile revision 16216
##
# Makefile for generateing .po tarballs for Sun UI strings.
#
# Generates : $(PACKAGE)-po-sun-$(PO_VERSION).tar.bz2
#
# Usage :
# "make clean" : Remove previous tarballs
#
# "make" : Update all .po tarballs
#
# "make check-used" : Outputs list of .po not being used.
#
# "make check-version" : Prints current .po tarball version
#
# "make $(PACKAGE)-po-sun-$(PO_VERSION).tar.bz2
# e.g. "make gnome-panel-po-sun-0.1.tar.bz2"
# will only generate gnome-panel's .po tarball
#
# For each package that contains .po files.
# - Ensure all .po files for your package are located under the
# correct .po package dir i.e.
#
# - Add Package name to PACKAGES Variable
# e.g. PACKAGES = \
# gnome-panel \
# your-package
#
# - Add two package specific variables
# PACKAGE_PAGES - Full path of all po for this package
# e.g. gnome-panel_PAGES = gnome-panel
# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
# e.g. gnome-panel.PAGES: $(gnome-panel_PAGES)
#
#
# To Add new .po files to existing packages
# -----------------------------------------
# Put very simply, all that is required from engineers is to make some changes
# and commit in SVN.
#
# - Ensure the .po file exists in SVN under the relevant package dir
# - Add .po files to the <package> directory
# - Remake tarballs
# $ make clean
# $ make
# This will re-generate all .po tarballs.
# - Copy newly generated tarball from po-sun-tarballs to package build
# install correctly.
# - New .po tarball will be generated by RE for each nightly, and for each
# milestone build.
#
#
# PO_VERSION is maintained by L10N and only gets bumped when spec-files gets
# branched. PLEASE do not change this.
# %po_sun_version is also updated in l10n.inc
#
PO_VERSION=0.1
NULL=
PACKAGES = \
alacarte \
brasero \
dasher \
devhelp \
ekiga \
eog \
evince \
gdm \
gedit \
ghex \
gimp \
glade \
gok \
gthumb \
gtk2 \
gtkam \
libwnck \
metacity \
nautilus \
orca \
pidgin \
printman \
totem \
tracker \
vino \
yelp \
$(NULL)
ghex.PAGES: $(ghex_PAGES)
gimp.PAGES: $(gimp_PAGES)
gtk2.PAGES: $(gtk2_PAGES)
orca.PAGES: $(orca_PAGES)
vino.PAGES: $(vino_PAGES)
yelp.PAGES: $(yelp_PAGES)
@test -x $(BZIP2) || echo "bzip2 utility not found"
fi; \
done
@if test -f $(TARBALL_DIR)/$@; then \
rm -f $(TARBALL_DIR)/$@; \
fi
base_po_dir=`basename $$po_dir`; \
done;
cd ..
@rm -f unused-po-sun.txt
done
done
@echo $(PO_VERSION)