projects
/
crypto-install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Packaging improvements.
[crypto-install.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
96d1b4e
..
9d16253
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
run: build/crypto-install
build/crypto-install
check:
build/crypto-install
check:
- pep8 .
+ flake8 .
test:
./setup.py test
test:
./setup.py test
@@
-20,8
+20,14
@@
build/crypto-install: crypto-install build locale/*/LC_MESSAGES/crypto-install.m
crypto-install > build/crypto-install
chmod a+rx build/crypto-install
crypto-install > build/crypto-install
chmod a+rx build/crypto-install
-locale/*/LC_MESSAGES/crypto-install.mo: locale/*/LC_MESSAGES/crypto-install.po
- msgfmt $<
+%.mo: %.po
+ msgfmt -o $@ $<
+
+locale/crypto-install.pot: crypto-install
+ xgettext -L Python -o $@ $<
+
+%.po: locale/crypto-install.pot
+ msgmerge -U $@ $<
clean:
rm -rf build
clean:
rm -rf build