X-Git-Url: http://repo.macrolet.net/gitweb/?p=crypto-install.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=9d16253bd99eaf26383d0dae44ff7bca2653304e;hp=96d1b4e42732aeb1a00ad57b1e6ced71d0664cf7;hb=cfe44975e80618da05a63e8736669c4e43f50511;hpb=b24c2da4b2a16f815d8d297eaf423503eb251fc1 diff --git a/Makefile b/Makefile index 96d1b4e..9d16253 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ run: build/crypto-install build/crypto-install check: - pep8 . + flake8 . 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 -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