aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..21cb119
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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;
+