Mercurial > mplayer.hg
view debian/daily-build.sh @ 32145:b97cd2b0dc07
Add some missing headers to configure checks; fixes the warnings:
tmp.c:3: warning: implicit declaration of function 'exit'
tmp.c:6: warning: implicit declaration of function 'printf'
tmp.c:4: warning: implicit declaration of function 'printf'
author | diego |
---|---|
date | Tue, 14 Sep 2010 09:45:40 +0000 |
parents | 4551864b8e69 |
children | 76854194b09e |
line wrap: on
line source
#!/bin/sh # wrapper around dpkg-buildpackage to generate correct changelog # use "debian/daily-build.sh -b" to create binary packages # and "debian/daily-build.sh -S" to create a source package only LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2 version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2) # ensure correct directory test -r debian/control || exit 1 rm debian/changelog dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build" dpkg-buildpackage -us -uc -i -I.svn "$@"