aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-pc.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-pc.sh b/build-pc.sh
index ba78178..fe3aeaf 100755
--- a/build-pc.sh
+++ b/build-pc.sh
@@ -25,6 +25,9 @@ do
shift
VERSION=$1
;;
+ *)
+ TARGET=$1
+ ;;
esac
shift
done
@@ -37,7 +40,7 @@ elif [ -z $NAME ]; then
exit 1
fi
-cat <<EOF > utils.pc
+cat <<EOF > $TARGET
prefix=$PREFIX
exec_prefix=\${prefix}
includedir=\${prefix}/include