mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Warn if unable to run xgettext or msgfmt.
This commit is contained in:
parent
0053b07ed3
commit
78190bb9cb
@ -238,6 +238,8 @@ update-pot:
|
|||||||
rm -f $$pot.tmp; \
|
rm -f $$pot.tmp; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
|
else \
|
||||||
|
echo "Unable to update .pot files: $(XGETTEXT) not found" 1>&2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update-po: update-pot
|
update-po: update-pot
|
||||||
@ -251,6 +253,8 @@ update-po: update-pot
|
|||||||
$(MSGFMT) --output /dev/null --check-format $$po || exit 1; \
|
$(MSGFMT) --output /dev/null --check-format $$po || exit 1; \
|
||||||
done; \
|
done; \
|
||||||
done; \
|
done; \
|
||||||
|
else \
|
||||||
|
echo "Unable to update .po files: $(MSGFMT) not found" 1>&2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
compile-po:
|
compile-po:
|
||||||
@ -273,6 +277,8 @@ compile-po:
|
|||||||
done; \
|
done; \
|
||||||
$(MAKE) -f Makefile.$$$$; \
|
$(MAKE) -f Makefile.$$$$; \
|
||||||
rm -f Makefile.$$$$; \
|
rm -f Makefile.$$$$; \
|
||||||
|
else \
|
||||||
|
echo "Unable to compile message catalogs: $(MSGFMT) not found" 1>&2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-nls:
|
install-nls:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user