| Building Debian Packages with git-buildpackage |
|---|
So far we assumed you already have a Debian package to start with but what if you want to start a new package? First create an empty repository:
mkdir package-0.1
cd package-0.1
git-init
Then you import the upstream sources, branch of the upstream branch and add the debian files (e.g. via dh_make):
git-import-orig -u 0.1 ../package-0.1.tar.gz
git-branch upstream
dh_make
That's it, you're done.
| <<< Converting an existing Git repository | Building packages from the Git repository >>> |