diff options
Diffstat (limited to 'gprof/po')
-rw-r--r-- | gprof/po/Make-in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gprof/po/Make-in b/gprof/po/Make-in index 0552db1..833d418 100644 --- a/gprof/po/Make-in +++ b/gprof/po/Make-in @@ -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 \ |