projects
/
crypto-install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc6e20b
)
Add rule to build message catalog files.
author
Olof-Joachim Frahm
<olof@macrolet.net>
Mon, 19 Jan 2015 20:33:06 +0000
(20:33 +0000)
committer
Olof-Joachim Frahm
<olof@macrolet.net>
Mon, 19 Jan 2015 20:33:06 +0000
(20:33 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
570aa8b
..
96d1b4e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,7
+12,7
@@
test:
build:
mkdir build
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" \
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
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
clean:
rm -rf build