2003-07-20 H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (.po.gmo): Do check if the .gmo file is writable
	before generating it.
This commit is contained in:
H.J. Lu 2003-07-19 07:31:15 +00:00
parent aa37626c9e
commit 29d001d614
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (.po.gmo): Do check if the .gmo file is writable
before generating it.
2003-07-17 Nick Clifton <nickc@redhat.com>
* po/es.po: New Spanish translation.

View File

@ -72,9 +72,7 @@ INSTOBJEXT = @INSTOBJEXT@
.po.gmo:
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
&& test -w $$file \
&& (rm -f $$file && $(GMSGFMT) -o $$file $< ) \
|| echo "$$file is not writable"
&& rm -f $$file && $(GMSGFMT) -o $$file $<
.po.cat:
sed -f ../intl/po2msg.sed < $< > $*.msg \