aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 21cb1192d6028ea6508f7c5ed711ab4be66fb7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PKGNAME=liveusb-creator
NAME=usbdumper
VERSION=$(shell date +%Y%m%d)

all: mo

mo:
	cd po; for po in `ls *.po`; do cp $$po liveusb-creator_$$po; done
	cd po; python mki18n.py -v --domain=liveusb-creator -m
	rm po/liveusb-creator_*.po*

clean:
	rm -f *.py{c,o} */*.py{c,o} */*/*.py{c,o}
	rm -fr po/${PKGNAME}*.po{,.new} po/locale
	rm -fr build

dist:
	@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 -9 -c >../$(NAME)-$(VERSION).tar.bz2;