1#!/bin/bash
2
3# Copyright 2015 The Chromium OS Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7set -e
8
9OUT=$1
10shift
11PC_IN=$1
12shift
13INCLUDE_DIR=$1
14shift
15
16sed \
17  -e "s|@INCLUDE_DIR@|${INCLUDE_DIR}|g" \
18  "${PC_IN}.pc.in" > "${OUT}/${PC_IN}.pc"
19