From d13e0184e3cf47a77c4795a33f9c18b4237cd715 Mon Sep 17 00:00:00 2001 From: Olof-Joachim Frahm Date: Mon, 19 Jan 2015 20:33:06 +0000 Subject: [PATCH] Add rule to build message catalog files. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.10.4