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 80bb056478
commit d70f79fec5

View File

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