Thread (56 messages) flat view 56 messages, 5 authors, 2016-06-15
STALE3732d

Revision rfc of 3 in this series.

Revisions (3)
  1. rfc [diff vs current]
  2. rfc current
  3. rfc [diff vs current]

[PATCH/RFC v2 3/6] Makefile: Remove Gettext files on make clean

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:48:52
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

Remove the automatically generated po/git.pot and share/
files. They're created by the gettext installation process.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 7989121..4de0627 100644
--- a/Makefile
+++ b/Makefile
@@ -2153,6 +2153,10 @@ ifndef NO_TCLTK
 	$(MAKE) -C git-gui clean
 endif
 	$(RM) GIT-VERSION-FILE GIT-CFLAGS GIT-GUI-VARS GIT-BUILD-OPTIONS
+ifndef NO_GETTEXT
+	$(RM) po/git.pot
+	$(RM) -r share/
+endif
 
 .PHONY: all install clean strip
 .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
-- 
1.7.1.248.gcd6d1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help