~ubuntu-branches/ubuntu/precise/aptoncd/precise

« back to all changes in this revision

Viewing changes to po/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-08-17 22:04:26 UTC
  • mfrom: (1.1.1 upstream) (0.1.11 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090817220426-bhxr3a21ff6y8edm
Tags: 0.1.98+bzr109-0.1
* Non-maintainer upload
* New upstream release (Closes: #452205, #423480, #433915, #541047, #427003,
  #493647, #484636)
* debian/control: 
  - Changed python build dependencies to Build-Depends-Indep
  - Moved url from Description to Homepage
  - Changed Standards-Version to 3.8.2
  - Changed Maintainer to myself
  - Deleted dependency on deprecated mkisofs 
  - Deleted recommend of nautilus-cd-burner
* debian/copyright: Changed (C) to © to make lintian happy
* debian/rules: 
  - deleted deprecated dh_desktop
  - added get-orig-source target to get the latest source from lp
* data/aptoncd.desktop.in: Fixed error and deprecated values in Desktop file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
DOMAIN=aptoncd
 
3
PO_FILES := $(wildcard *.po)
 
4
CONTACT=cypherbios@gmail.com
 
5
 
 
6
all: update-po
 
7
 
 
8
top_srcdir=../
 
9
 
 
10
# update the pot
 
11
$(DOMAIN).pot:
 
12
        XGETTEXT_ARGS=--msgid-bugs-address=$(CONTACT) intltool-update -p -g $(DOMAIN)
 
13
 
 
14
# merge the new stuff into the po files
 
15
merge-po: $(PO_FILES)
 
16
        XGETTEXT_ARGS=--msgid-bugs-address=$(CONTACT) intltool-update -r -g $(DOMAIN); 
 
17
 
 
18
# create mo from the POs
 
19
%.mo : %.po
 
20
        mkdir -p mo/$(subst .po,,$<)/LC_MESSAGES/ 
 
21
        msgfmt $< -o mo/$(subst .po,,$<)/LC_MESSAGES/$(DOMAIN).mo 
 
22
 
 
23
# dummy target 
 
24
update-po: $(DOMAIN).pot merge-po $(patsubst %.po,%.mo,$(wildcard *.po))
 
25