From c711ceab01ea8ee2bab40fcb8daf32f1317e5f23 Mon Sep 17 00:00:00 2001 From: ERDI Gergo Date: Fri, 25 Jan 2002 00:30:43 +0000 Subject: [PATCH] Remove inlttool [] tags from POTFILE.in 2002-01-23 ERDI Gergo * Makefile.in.in (POTFILES): Remove inlttool [] tags from POTFILE.in --- po/ChangeLog | 5 +++++ po/Makefile.in.in | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/po/ChangeLog b/po/ChangeLog index df459ad84..bca85bb77 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2002-01-23 ERDI Gergo + + * Makefile.in.in (POTFILES): Remove inlttool [] tags from + POTFILE.in + 2002-01-21 Zbigniew Chyla * pl.po: Updated Polish translation by diff --git a/po/Makefile.in.in b/po/Makefile.in.in index f00b218d8..be4bfa2a2 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -234,6 +234,9 @@ update-po: Makefile fi; \ done +# POTFILES is created from POTFILES.in by stripping comments, empty lines +# and Intltool tags (enclosed in square brackets), and appending a full +# relative path to them POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ @@ -241,8 +244,10 @@ POTFILES: POTFILES.in posrcprefix="../"; \ fi; \ rm -f $@-t $@ \ - && (sed -e '/^#/d' -e '/^[ ]*$$/d' \ - -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ + && (sed -e '/^#/d' \ + -e "s/^\[.*\] +//" \ + -e '/^[ ]*$$/d' \ + -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ | sed -e '$$s/\\$$//') > $@-t \ && chmod a-w $@-t \ && mv $@-t $@ )