diff options
author | Paul Smith <psmith@gnu.org> | 2002-04-21 23:57:24 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-04-21 23:57:24 +0000 |
commit | 7ed1a08985ee943646612563e1fc09f5d51425f8 (patch) | |
tree | 4068151d4bd9fcd5d63bff8f824d0fad325d0fc8 /i18n/Makefile.am | |
parent | cae1db6ecdcd64bfbdfb1e5cff2bf2d6b2cba603 (diff) | |
download | gunmake-7ed1a08985ee943646612563e1fc09f5d51425f8.tar.gz |
Update GNU make to use Autoconf 2.53, Automake 1.6.1, Gettext 0.11.1.
We're using Gettext's "external" feature to avoid including the intl
code in the GNU make distribution.
Diffstat (limited to 'i18n/Makefile.am')
-rw-r--r-- | i18n/Makefile.am | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/i18n/Makefile.am b/i18n/Makefile.am deleted file mode 100644 index 409c380..0000000 --- a/i18n/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -# Makefile for PO directories. -# François Pinard <pinard@iro.umontreal.ca>, 1998. - -AUTOMAKE_OPTIONS = gnits - -localedir = $(prefix)/share/locale - -ALL_POFILES = @ALL_POFILES@ -ALL_MOFILES = @ALL_MOFILES@ -MOFILES = @MOFILES@ - -EXTRA_DIST = $(PACKAGE).pot $(ALL_POFILES) $(ALL_MOFILES) - -MSGFMT = msgfmt -MSGMERGE = msgmerge -XGETTEXT = xgettext - -SUFFIXES = .po .pox .mo - -.po.pox: - $(MAKE) $(PACKAGE).pot - $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox - -.po.mo: - file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ - && rm -f $$file && $(MSGFMT) -o $$file $< - -all: $(ALL_MOFILES) - -install-data-local: $(MOFILES) -if USE_NLS - files='$(MOFILES)'; \ - for file in $$files; do \ - base=`basename $$file`; \ - langdir=$(DESTDIR)$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \ - $(mkinstalldirs) $$langdir; \ - echo " $(INSTALL_DATA) $(srcdir)/$$file $$langdir/$(PACKAGE).mo"; \ - $(INSTALL_DATA) $(srcdir)/$$file $$langdir/$(PACKAGE).mo; \ - done -endif - -uninstall-local: -if USE_NLS - files='$(MOFILES)'; \ - for file in $$files; do \ - base=`basename $$file`; \ - langdir=$(DESTDIR)$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \ - rm -f $$langdir/$(PACKAGE).mo; \ - done -endif - -MAINTAINER_CLEAN = $(PACKAGE).pot $(MOFILES) - -$(srcdir)/$(PACKAGE).pot: $(top_srcdir)/stamp-pot - $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ - --add-comments --keyword=_ --keyword=N_ `cat $(top_srcdir)/stamp-pot` - test ! -f $(PACKAGE).po || ( rm -f $@ && mv $(PACKAGE).po $@ ) - -update-po: Makefile - $(MAKE) $(PACKAGE).pot - files='$(ALL_MOFILES)'; \ - for file in $$files; do \ - base=`basename $$file`; \ - lang=`echo $$base | sed 's/\.mo$$//'`; \ - mv $(srcdir)/$$lang.po $(srcdir)/$$lang.old.po; \ - echo "$$lang:"; \ - cd $(srcdir) \ - && if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ - rm -f $$lang.old.po; \ - else \ - echo "msgmerge for $$file failed!"; \ - rm -f $$lang.po; \ - mv $$lang.old.po $$lang.po; \ - fi; \ - done |