No longer regenerate pkg-config's definition file upon install

This commit is contained in:
Pierre Pronchery 2011-01-04 02:45:46 +00:00
parent eec5cdb2b9
commit c9e010c88f

View File

@ -69,13 +69,14 @@ while [ $# -gt 0 ]; do
continue
fi
#create
$SED -e "s,PREFIX,$PREFIX," -e "s,VERSION,$VERSION," "$target.in" \
> "$target" || exit 2
#install
if [ "$install" -eq 1 ]; then
$DEBUG $MKDIR "$PKGCONFIG" || exit 2
$DEBUG $INSTALL "$target" "$PKGCONFIG/$target" || exit 2
continue
fi
#create
$SED -e "s,PREFIX,$PREFIX," -e "s,VERSION,$VERSION," "$target.in" \
> "$target" || exit 2
done