From: ERDI Gergo Date: Fri, 25 Jan 2002 00:30:43 +0000 (+0000) Subject: Remove inlttool [] tags from POTFILE.in X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c711ceab01ea8ee2bab40fcb8daf32f1317e5f23;p=dana%2Fcg-glib.git Remove inlttool [] tags from POTFILE.in 2002-01-23 ERDI Gergo * Makefile.in.in (POTFILES): Remove inlttool [] tags from POTFILE.in --- diff --git a/po/ChangeLog b/po/ChangeLog index df459ad8..bca85bb7 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 f00b218d..be4bfa2a 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 $@ )