diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-04-10 20:35:27 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-04-10 20:35:27 +0000 |
commit | 79c5f9914c6476d31d64b85d0d34b31644732672 (patch) | |
tree | 486dfd1ca13a03db125ce08ca4ef2b2848629148 /po | |
parent | 8ee91b67044ae45c50722aa4762a234b5890a8fe (diff) | |
download | xine-lib-79c5f9914c6476d31d64b85d0d34b31644732672.tar.gz xine-lib-79c5f9914c6476d31d64b85d0d34b31644732672.tar.bz2 |
Autostuff houskeeping:
- prepare also po/POTFILES.in by 'make dist' before updating po-files,
so also new files with strings for translatiom will be included
- make build proces working in separate directory
CVS patchset: 6387
CVS date: 2004/04/10 20:35:27
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile.in.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 2426e767c..2c31b7d06 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -156,8 +156,16 @@ maintainer-clean: distclean @echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) +# generate POTFILES.in before updating po-files distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: + (cd $(top_srcdir); \ + head -3 po/POTFILES.in > \ + /tmp/POTFILES.in && \ + find src -name "*.[chy]" | \ + xargs grep -l '[^A-Za-z_]_(' | \ + grep -v src/xine-engine/xineintl.h >> /tmp/POTFILES.in && \ + cp /tmp/POTFILES.in po/) $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. |