~ubuntu-branches/debian/sid/menu/sid

« back to all changes in this revision

Viewing changes to po-sections/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2005-05-24 10:34:47 UTC
  • mfrom: (1.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050524103447-9zu50so5d0nte3o9
Tags: 2.1.24
* The "head or tail" release 
* Fix .menus typo in menufile.5. Closes: #306564. Thanks Sean Finney.
* Add Vietnamese menu messages and menu sections translations.
  Thanks Clytie Siddall. Closes: #307450, #308953.
* Update Esperanto menu sections translation. Thanks MJ Ray.
* Add Esperanto menu messages translation. Thanks MJ Ray.
* Unfuzzy Norwegian Bokmål menu messages translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
MOs = ca.mo cs.mo da.mo de.mo eo.mo eu.mo el.mo es.mo fi.mo fr.mo gl.mo he.mo hr.mo hu.mo id.mo it.mo ja.mo lt.mo nl.mo nb.mo nn.mo pl.mo pt.mo pt_BR.mo ro.mo ru.mo sv.mo tr.mo uk.mo vi.mo zh_CN.mo zh_TW.mo
 
2
POs = ca.po cs.po da.po de.po eo.po eu.po el.po es.po fi.po fr.po gl.po he.po hr.po hu.po id.po it.po ja.po lt.po nl.po nb.po nn.po pl.po pt.po pt_BR.po ro.po ru.po sv.po tr.po uk.po vi.po zh_CN.po zh_TW.po
 
3
localedir = $(datadir)/locale
 
4
 
 
5
EXTRA_DIST = $(POs) es.trme menufile2pot menu-sections.pot README trme2po
 
6
 
 
7
all-local: $(MOs)
 
8
install-data-local:$(MOs) lang.h
 
9
        for mo in $(MOs); do \
 
10
           lang=`basename $$mo .mo`; \
 
11
           dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
 
12
           $(INSTALL) -d $$dir && \
 
13
           $(INSTALL_DATA) $$mo $$dir/menu-sections.mo; \
 
14
        done
 
15
 
 
16
lang.h: $(MOs)
 
17
        echo "#List of languages for multilingual menu" >lang.h
 
18
        echo >>lang.h
 
19
        echo 'function sections_translations()="$(MOs) "' \
 
20
          | sed -e 's/.mo /:/g; s/:"/"/' >>lang.h
 
21
 
 
22
%.mo   : %.po
 
23
        msgfmt -o $@ $^ 
 
24
 
 
25
clean-local:
 
26
        rm -f *.mo lang.h