mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Do not attempt to create a .gmo file if the sources are read-only.
This commit is contained in:
parent
eb7f1c487a
commit
d3427997ad
@ -1,3 +1,8 @@
|
||||
2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* po/Make-in (.po.gmo): Do not attempt to create a .gmo file if
|
||||
the sources are read-only.
|
||||
|
||||
2002-04-04 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* dep-in.sed: Cope with absolute paths.
|
||||
|
@ -70,7 +70,9 @@ INSTOBJEXT = @INSTOBJEXT@
|
||||
|
||||
.po.gmo:
|
||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) -o $$file $<
|
||||
&& test -w $$file \
|
||||
&& (rm -f $$file && $(GMSGFMT) -o $$file $< ) \
|
||||
|| echo "$$file is not writable"
|
||||
|
||||
.po.cat:
|
||||
sed -f ../intl/po2msg.sed < $< > $*.msg \
|
||||
|
Loading…
Reference in New Issue
Block a user