Mercurial > mplayer.hg
annotate debian/daily-build.sh @ 32229:e7cd36fc291e
Do not falsely declare some vo_functions_t declarations as const.
Also add a comment so this mistake is not repeated.
author | diego |
---|---|
date | Mon, 20 Sep 2010 07:33:53 +0000 |
parents | 4551864b8e69 |
children | 76854194b09e |
rev | line source |
---|---|
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
1 #!/bin/sh |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
2 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
3 # wrapper around dpkg-buildpackage to generate correct changelog |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
4 # use "debian/daily-build.sh -b" to create binary packages |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
5 # and "debian/daily-build.sh -S" to create a source package only |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
6 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
7 LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
8 version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
9 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
10 # ensure correct directory |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
11 test -r debian/control || exit 1 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
12 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
13 rm debian/changelog |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
14 dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build" |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
15 |
31862
4551864b8e69
ignore common files during building the tarball and .diff.gz in debian packaging
siretart
parents:
31833
diff
changeset
|
16 dpkg-buildpackage -us -uc -i -I.svn "$@" |