File: Makefile

package info (click to toggle)
pastebinit 1.1-2squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 304 kB
  • ctags: 54
  • sloc: python: 225; xml: 124; makefile: 37
file content (12 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
all: build-mo

# create mo from the po files
%.mo : %.po
	mkdir -p mo/$(subst .po,,$<)/LC_MESSAGES/
	msgfmt $< -o mo/$(subst .po,,$<)/LC_MESSAGES/pastebinit.mo

# generate all *.mo files
build-mo: $(patsubst %.po,%.mo,$(wildcard *.po))

update-po:
	pygettext -a -D ../pastebinit