18861N/A#This file(copied from another module and changed) is used to build gnome-compiz-preferences.mo files.
18861N/A#It will replace the default Makefile shipped with the po-sun tarball.
18861N/Asrcdir = .
18861N/Atop_srcdir = ..
18861N/Atop_builddir = ..
18861N/A
18861N/Asubdir = po
18861N/Aprefix = /usr
18861N/ADATADIRNAME = share
18861N/Aitlocaledir = $(prefix)/$(DATADIRNAME)/locale
18861N/ALOCALE_OWNER = root
18861N/ALOCALE_GROUP = root
18861N/A#mkdir_p = install -d -m 755 -o $(LOCALE_OWNER) -g $(LOCALE_GROUP)
18861N/Amkdir_p = install -d -m 755
18861N/A
18861N/APACKAGE = $(lastword $(patsubst GETTEXT_PACKAGE%, %, $(shell grep "^GETTEXT_PACKAGE =" $(top_srcdir)/compiz-configure.in)))
18861N/AVERSION = $(firstword $(patsubst VERSION=%, %, $(shell grep "^VERSION=" $(top_srcdir)/Makefile)))
18861N/AGETTEXT_PACKAGE = $(PACKAGE)
18861N/A
18861N/AINSTALL = install -c
18861N/AINSTALL_DATA = ${INSTALL} -m 644
18861N/A
18861N/AGMSGFMT = msgfmt
18861N/AMSGFMT = msgfmt
18861N/A
18861N/AALL_LINGUAS =
18861N/A
18861N/APO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
18861N/A
18861N/AUSER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi)
18861N/A
18861N/AUSE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
18861N/A
18861N/APOFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
18861N/A
18861N/ADISTFILES = Makefile POTFILES.in $(POFILES)
18861N/AEXTRA_DISTFILES = LINGUAS
18861N/A
18861N/ACATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
18861N/A
18861N/A.SUFFIXES:
18861N/A.SUFFIXES: .po .gmo
18861N/A
18861N/A.po.gmo:
18861N/A file=`echo $* | sed 's,.*/,,'`.gmo \
18861N/A && rm -f $$file && $(GMSGFMT) -o $$file $<
18861N/A
18861N/Aall: all-yes
18861N/A
18861N/Aall-yes: $(CATALOGS)
18861N/Aall-no:
18861N/A
18861N/Ainstall: install-data
18861N/Ainstall-data: install-data-yes
18861N/Ainstall-data-no: all
18861N/Ainstall-data-yes: all
18861N/A $(mkdir_p) $(DESTDIR)$(itlocaledir)
18861N/A linguas="$(USE_LINGUAS)"; \
18861N/A for lang in $$linguas; do \
18861N/A dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
18861N/A $(mkdir_p) $$dir; \
18861N/A if test -r $$lang.gmo; then \
18861N/A $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
18861N/A echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
18861N/A else \
18861N/A $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
18861N/A echo "installing $(srcdir)/$$lang.gmo as" \
18861N/A "$$dir/$(GETTEXT_PACKAGE).mo"; \
18861N/A fi; \
18861N/A done
18861N/A
18861N/Auninstall:
18861N/A linguas="$(USE_LINGUAS)"; \
18861N/A for lang in $$linguas; do \
18861N/A rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
18861N/A done
18861N/A
18861N/Aclean:
18861N/A rm -f *.gmo
18861N/A rm -f .intltool-merge-cache
18861N/A
18861N/Adistdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
18861N/Adist distdir: $(DISTFILES)
18861N/A dists="$(DISTFILES)"; \
18861N/A extra_dists="$(EXTRA_DISTFILES)"; \
18861N/A for file in $$extra_dists; do \
18861N/A test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
18861N/A done; \
18861N/A for file in $$dists; do \
18861N/A test -f $$file || file="$(srcdir)/$$file"; \
18861N/A ln $$file $(distdir) 2> /dev/null \
18861N/A || cp -p $$file $(distdir); \
18861N/A done
18861N/A
18861N/A.NOEXPORT: