The wrong directory is searched when .po files are created
@kjellahl
Submitted by Kjell Ahlstedt Link to original bug (#742054)
Description
YELP_HELP_RULES in yelp.m4 defines a recipe for building $(_HELP_POFILES) which is wrong.
$(_HELP_POFILES):
(AM_V_at)if ! test -d "
(dir []@)"; then mkdir "
(dir [$]@)"; fi
(AM_V_at)if test ! -f "[
]@" -a -f "(srcdir)/[
]@"; then cp "(srcdir)/[
]@" "[$]@"; fi
(AM_V_GEN)if ! test -f "[
]@"; then
(cd "(dir [
]@)" &&
(ITSTOOL) -o "
(notdir [$]@).tmp" $(_HELP_C_FILES) &&
mv "(notdir [
]@).tmp" "(notdir [
]@)");
else
(cd "(dir [
]@)" &&
(ITSTOOL) -o "
(notdir [$]@).tmp" $(_HELP_C_FILES) &&
msgmerge -o "(notdir [
]@)" "(notdir [
]@)" "(notdir [
]@).tmp" &&
rm "(notdir [
]@).tmp");
fi
The files (_HELP_C_FILES) are not found after cd "
(dir [$]@)" has been
executed.
Version: git master