mirror of https://github.com/GNOME/gimp.git
changed sed expression to deal with the encoding tag in POTFILES.in.
2006-02-28 Sven Neumann <sven@gimp.org> * Makefile.in.in: changed sed expression to deal with the encoding tag in POTFILES.in.
This commit is contained in:
parent
a48abe8337
commit
b12ffc59f2
|
@ -1,3 +1,8 @@
|
|||
2006-02-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* Makefile.in.in: changed sed expression to deal with the encoding
|
||||
tag in POTFILES.in.
|
||||
|
||||
2006-02-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* POTFILES.in: specify encoding.
|
||||
|
|
|
@ -233,17 +233,13 @@ update-po: Makefile
|
|||
# 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)/'; \
|
||||
else \
|
||||
posrcprefix="../"; \
|
||||
fi; \
|
||||
( posrcprefix='$(top_srcdir)/'; \
|
||||
rm -f $@-t $@ \
|
||||
&& (sed -e '/^#/d' \
|
||||
-e "s/^\[.*\] +//" \
|
||||
-e '/^[ ]*$$/d' \
|
||||
-e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
|
||||
| sed -e '$$s/\\$$//') > $@-t \
|
||||
&& (sed -e '/^#/d' \
|
||||
-e 's/^[[].*] *//' \
|
||||
-e '/^[ ]*$$/d' \
|
||||
-e "s@^@ $$posrcprefix@" $(srcdir)/$@.in \
|
||||
| sed -e '$$!s/$$/ \\/') > $@-t \
|
||||
&& chmod a-w $@-t \
|
||||
&& mv $@-t $@ )
|
||||
|
||||
|
|
Loading…
Reference in New Issue