blob: 51b31c17a16d2d1e46b5022587d26572db70f95c [file] [log] [blame] [edit]
#!/bin/bash
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
OUT=$1
shift
PC_IN=$1
shift
INCLUDE_DIR=$1
shift
sed \
-e "s|@INCLUDE_DIR@|${INCLUDE_DIR}|g" \
-e "s|@PV@|${PV}|g" \
"${PC_IN}.pc.in" > "${OUT}/${PC_IN}.pc"