]>
git.proxmox.com Git - mirror_zfs-debian.git/blob - debian/debuild-ppa.sh
3 # Launchpad PPA build helper.
6 PPA_USER
=${PPA_USER:-$(whoami)}
8 PPA_DISTRIBUTION_LIST
='lucid maverick natty oneiric'
13 echo 'Error: The debian/ directory is not in the current working path.'
17 for ii
in $PPA_DISTRIBUTION_LIST
19 # Change the first line of the debian/changelog file
20 # from: MyPackage (1.2.3-4) unstable; urgency=low
21 # to: MyPackage (1.2.3-4~distname) distname; urgency=low
22 debchange
--local="~$ii" --distribution="$ii" dummy
23 sed -i -e '2,8d' debian
/changelog
25 debuild
-S "$PPA_GENCHANGES"
26 git checkout debian
/changelog
28 # Only do a full upload on the first build.