chiark / gitweb /
Makefile: Provide i18n-commit target
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Oct 2018 19:41:33 +0000 (20:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Oct 2018 19:41:33 +0000 (20:41 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index a0854a1..7d0c422 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -131,6 +131,11 @@ i18n i18n-update:
        $(MAKE) -C po update
        $(MAKE) -C po4a update
 
+i18n-commit:
+       set -e; x=$$(git status --porcelain); set -x; test "x$$x" = x
+       $(MAKE) i18n-update
+       git commit -a -m 'i18n-commit - autogenerated'
+
 check installcheck:
 
 clean distclean mostlyclean maintainer-clean: