[beast] PO: force update-po on make dist



commit 07ac8137b6eebd45ea1c54361432eb017e25ff3c
Author: Tim Janik <timj gtk org>
Date:   Fri Sep 10 02:02:38 2010 +0200

    PO: force update-po on make dist

 po/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/po/Makefile.am b/po/Makefile.am
index 64b084f..04adca3 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -141,6 +141,8 @@ update-po: Makefile
 	  $(GMSGFMT) -o /dev/null --verbose $(srcdir)/$$i ; \
 	done
 .PHONY: update-po
+DISTDIR_HOOK = distdir # use indirection to emulate distdir-hook
+$(DISTDIR_HOOK): $(shell test -w $(srcdir)/messages.pot && echo 'update-po')
 
 $(srcdir)/messages.pot:
 	@echo "Rebuilding $(@F)..."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]