Ken Mixter | 14d603d | 2010-01-08 17:11:13 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
Ken Mixter | b590eb3 | 2010-02-18 09:33:53 -0800 | [diff] [blame] | 4 | # |
| 5 | # This program is free software; you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License version 2, as |
| 7 | # published by the Free Software Foundation. |
| 8 | # |
| 9 | # This program is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | # GNU General Public License for more details. |
| 13 | # |
| 14 | # You should have received a copy of the GNU General Public License along |
| 15 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
Ken Mixter | 14d603d | 2010-01-08 17:11:13 -0800 | [diff] [blame] | 17 | # |
| 18 | # Builds the .deb package. |
| 19 | |
| 20 | # Load common constants. This should be the first executable line. |
| 21 | # The path to common.sh should be relative to your script's location. |
| 22 | COMMON_SH="$(dirname "$0")/../../../scripts/common.sh" |
| 23 | . "$COMMON_SH" |
| 24 | |
Ken Mixter | e1514b8 | 2010-01-14 15:35:53 -0800 | [diff] [blame] | 25 | # Remove this file to force configure to be rerun even when dirty |
| 26 | rm -f $(dirname "$0")/config.status |
| 27 | |
Ken Mixter | 14d603d | 2010-01-08 17:11:13 -0800 | [diff] [blame] | 28 | # Make the package |
| 29 | make_pkg_common "upstart" "$@" |