From: Olof-Joachim Frahm Date: Mon, 19 Jan 2015 20:33:06 +0000 (+0000) Subject: Add rule to build message catalog files. X-Git-Tag: 0.1.0~2^2~5 X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=d13e0184e3cf47a77c4795a33f9c18b4237cd715;p=crypto-install.git Add rule to build message catalog files. --- diff --git a/Makefile b/Makefile index 570aa8b..96d1b4e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ test: build: mkdir build -build/crypto-install: crypto-install build +build/crypto-install: crypto-install build locale/*/LC_MESSAGES/crypto-install.mo sed \ -e "s/GIT-TAG/`git describe --abbrev=0 --tags`/g" \ -e "s/GIT-COMMIT/`git rev-parse --short=7 HEAD`/g" \ @@ -20,5 +20,8 @@ build/crypto-install: crypto-install build crypto-install > build/crypto-install chmod a+rx build/crypto-install +locale/*/LC_MESSAGES/crypto-install.mo: locale/*/LC_MESSAGES/crypto-install.po + msgfmt $< + clean: rm -rf build