File: Makefile

package info (click to toggle)
foomatic-gui 0.7.7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 748 kB
  • ctags: 296
  • sloc: python: 2,150; makefile: 76; ansic: 52; sh: 14
file content (20 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: Makefile,v 1.12 2006/05/31 00:45:09 lordsutch Exp $

clean:
	rm -f foomatic/*.py[co] foomatic/__*.py[co] foomatic/*~ *~ *.bak
	rm -f build-stamp configure-stamp
	rm -rf build dist

debclean:
	-fakeroot debian/rules clean
	rm -rf debian

LANGS = en_US es pt pt_BR ru fr sv

foomatic-gui.pot: foomatic-gui foomatic-gui.glade
	xgettext foomatic-gui.glade -o foomatic-gui.pot --msgid-bugs-address=foomatic-gui@packages.debian.org
	xgettext -j -L python foomatic-gui -o foomatic-gui.pot --msgid-bugs-address=foomatic-gui@packages.debian.org
	@(for l in $(LANGS); do msgmerge -U $$l.po foomatic-gui.pot; done)

translate:
	@(for l in $(LANGS); do mkdir -p i18n/$$l/LC_MESSAGES; msgfmt -f --statistics -o i18n/$$l/LC_MESSAGES/foomatic-gui.mo $$l.po; done)