6643N/A#
6643N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
6643N/A#
6643N/A# This program is free software; you can redistribute it and/or modify
6643N/A# it under the terms of the GNU General Public License as published by
6643N/A# the Free Software Foundation; either version 2 of the License, or
6643N/A# (at your option) any later version.
6643N/A#
6643N/A# This program is distributed in the hope that it will be useful,
6643N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of
6643N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6643N/A# GNU General Public License for more details.
6643N/A#
6643N/A# You should have received a copy of the GNU General Public License
6643N/A# along with this program; if not, write to the Free Software
6643N/A# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
6643N/A#
6643N/A
6643N/Asrcdir = .
6643N/Atop_srcdir = ..
6643N/Atop_builddir = ..
6643N/A
6643N/Asubdir = po
6643N/Aprefix = /usr
6643N/ADATADIRNAME = share
6643N/Aitlocaledir = $(prefix)/$(DATADIRNAME)/locale
6643N/ALOCALE_OWNER = root
6643N/ALOCALE_GROUP = root
6643N/A#mkdir_p = install -d -m 755 -o $(LOCALE_OWNER) -g $(LOCALE_GROUP)
6643N/Amkdir_p = install -d -m 755
6643N/A
6643N/APACKAGE = $(firstword $(patsubst PACKAGE=%, %, $(shell grep "^PACKAGE=" $(top_srcdir)/Makefile)))
6643N/AVERSION = $(firstword $(patsubst VERSION=%, %, $(shell grep "^VERSION=" $(top_srcdir)/Makefile)))
6643N/AGETTEXT_PACKAGE = $(PACKAGE)
6643N/A
6643N/AINSTALL = install -c
6643N/AINSTALL_DATA = ${INSTALL} -m 644
6643N/A
6643N/AGMSGFMT = /usr/bin/gmsgfmt
6643N/AMSGFMT = /usr/bin/gmsgfmt
6643N/AXGETTEXT = /usr/bin/gxgettext
6643N/AINTLTOOL_UPDATE = /usr/bin/intltool-update
6643N/AINTLTOOL_EXTRACT = /usr/bin/intltool-extract
6643N/AGENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
6643N/A
6643N/AALL_LINGUAS =
6643N/A
6643N/APO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
6643N/A
6643N/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)
6643N/A
6643N/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)
6643N/A
6643N/APOFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
6643N/A
6643N/ADISTFILES = Makefile POTFILES.in $(POFILES)
6643N/AEXTRA_DISTFILES = LINGUAS
6643N/A
6643N/APOTFILES = \
6643N/A $(top_srcdir)/os-about.desktop.in \
6643N/A $(top_srcdir)/os-about.py \
6643N/A $(top_srcdir)/os-next-steps.desktop.in \
6643N/A $(top_srcdir)/os-next-steps.py
6643N/A
6643N/A
6643N/ACATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
6643N/A
6643N/A.SUFFIXES:
6643N/A.SUFFIXES: .po .gmo
6643N/A
6643N/A.po.gmo:
6643N/A file=`echo $* | sed 's,.*/,,'`.gmo \
6643N/A && rm -f $$file && $(GMSGFMT) -o $$file $<
6643N/A
6643N/Aall: all-yes
6643N/A
6643N/Aall-yes: $(CATALOGS) $(GETTEXT_PACKAGE).pot
6643N/Aall-no:
6643N/A
6643N/A$(GETTEXT_PACKAGE).pot: $(POTFILES)
6643N/A $(GENPOT)
6643N/A
6643N/Ainstall: install-data
6643N/Ainstall-data: install-data-yes
6643N/Ainstall-data-no: all
6643N/Ainstall-data-yes: all
6643N/A $(mkdir_p) $(DESTDIR)$(itlocaledir)
6643N/A linguas="$(USE_LINGUAS)"; \
6643N/A for lang in $$linguas; do \
6643N/A dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
6643N/A $(mkdir_p) $$dir; \
6643N/A if test -r $$lang.gmo; then \
6643N/A $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
6643N/A echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
6643N/A else \
6643N/A $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
6643N/A echo "installing $(srcdir)/$$lang.gmo as" \
6643N/A "$$dir/$(GETTEXT_PACKAGE).mo"; \
6643N/A fi; \
6643N/A done
6643N/A
6643N/Auninstall:
6643N/A linguas="$(USE_LINGUAS)"; \
6643N/A for lang in $$linguas; do \
6643N/A rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
6643N/A done
6643N/A
6643N/Aclean:
6643N/A rm -f *.gmo
6643N/A rm -f .intltool-merge-cache
6643N/A
6643N/Adistdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
6643N/Adist distdir: $(DISTFILES)
6643N/A dists="$(DISTFILES)"; \
6643N/A extra_dists="$(EXTRA_DISTFILES)"; \
6643N/A for file in $$extra_dists; do \
6643N/A test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
6643N/A done; \
6643N/A for file in $$dists; do \
6643N/A test -f $$file || file="$(srcdir)/$$file"; \
6643N/A ln $$file $(distdir) 2> /dev/null \
6643N/A || cp -p $$file $(distdir); \
6643N/A done
6643N/A
6643N/A.NOEXPORT:
6643N/A
6643N/Aprint-%:
6643N/A @echo '$(subst ','\'',$*=$($*)) (origin: $(origin $*), flavor: $(flavor $*))'