2002-01-23 ERDI Gergo <cactus@cactus.rulez.org>
* Makefile.in.in (POTFILES): Remove inlttool [] tags from
POTFILE.in
+2002-01-23 ERDI Gergo <cactus@cactus.rulez.org>
+
+ * Makefile.in.in (POTFILES): Remove inlttool [] tags from
+ POTFILE.in
+
2002-01-21 Zbigniew Chyla <cyba@gnome.pl>
* pl.po: Updated Polish translation by
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)/'; \
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 $@ )