Mercurial > audlegacy
annotate scripts/application.sh @ 4674:b71d4f3f3afd
make some functions static
author | mf0102 <0102@gmx.at> |
---|---|
date | Sun, 29 Jun 2008 17:48:07 +0200 |
parents | 46a0eb1426f6 |
children |
rev | line source |
---|---|
3482
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
1 #!/bin/sh |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
2 # application.sh: Special package building rules for audacious. |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
3 # |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
4 # Copyright (c) 2007 atheme.org |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
5 # |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
6 # Permission to use, copy, modify, and/or distribute this software for |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
7 # any purpose with or without fee is hereby granted, provided that the above |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
8 # copyright notice and this permission notice appear in all copies. |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
9 # |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
10 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
11 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
12 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
13 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
14 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
15 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
16 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
17 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
18 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
19 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
20 # |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
21 |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
22 if [ "x$TIP" = "x" ]; then |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
23 echo "Please don't run me directly." |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
24 exit |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
25 fi |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
26 |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
27 # Audacious wants the hg tip to be in src/audacious/build_stamp.c |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
28 echo "[audacious] Generating src/audacious/build_stamp.c for tip $TIP." |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
29 cat << _EOF_ > src/audacious/build_stamp.c |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
30 /* Generated automatically by makepackage. Any changes made here will be lost. */ |
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
31 #include <glib.h> |
3520 | 32 const gchar *svn_stamp = "$TIP"; |
3482
54d6336163fe
Add release building scripts.
William Pitcock <nenolod@atheme.org>
parents:
diff
changeset
|
33 _EOF_ |