commit c95d90bf58a710669885a3b8ca7cc6e651854718 parent 7fe9fb7ef065b9d31bb54718feb1df11126ecef2 Author: Theodore Ts'o <tytso@users.sf.net> Date: Thu, 15 Jan 2004 03:44:51 +0000 Shell script which generates an official debian package from a checked-out CVS tree. Diffstat:
A | debian/generate-deb | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/debian/generate-deb b/debian/generate-deb @@ -0,0 +1,23 @@ +#!/bin/sh +# +# Intended to be run from the root of the isync source tree in the repository. +# +VERSION=0.9.2 + +if [ ! -f ../isync_$VERSION.orig.tar.gz ]; then + echo isync_$VERSION.orig.tar.gz must be found in the parent directory. + exit 1 +fi +rm -rf ../isync-$VERSION + +fakeroot ./debian/rules clean +cp -rl . ../isync-$VERSION +cd ../isync-$VERSION +find . -name CVS | xargs rm -rf +find . -type l | xargs rm +aclocal +autoheader +automake --add-missing --copy +autoconf +rm config.guess config.sub +dpkg-buildpackage -rfakeroot