I am attempting to package a simple video game for distribution on the Ubuntu Software Center. I have been working through the Ubuntu Packaging Guide Tutorial. I have succeeded in creating my GPG and SSH keys, getting them registered, getting set up with Launchpad, and registering the keys with Launchpad.
I skipped 1.3 - 1.5 Fixing Bugs (kdetoys) of the tutorial and went straight to 1.6 Packaging New Software (hello).
I was able to download the package, extract it, configure it, make it, and install it, such that the command
hello now returns "Hello world!"
From there I ran
bzr dh-make hello 2.9 hello-2.9.tar.gz which created a folder called "hello". I have made the suggested changes to the contents of the "hello" folder and committed the changes using
Then, when I run:
bzr builddeb -- -us -uc
It does a bunch of stuff and then I get:
dh clean dh_testdir dh_auto_clean make: Entering directory /build-area/hello-2.9' There seems to be no Makefile in this directory. You must run ./configure before running 'make'. make: *** [abort-due-to-no-makefile] Error 1 make: Leaving directory /build-area/hello-2.9' dh_auto_clean: make -j1 distclean returned exit code 2 make: *** [clean] Error 29 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 debuild: fatal error at line 1350: dpkg-buildpackage -rfakeroot -D -us -uc failed bzr: ERROR: The build failed.
I am using Ubuntu 12.04 (32-bit). I have created a github repo of the "hello" folder in case anyone would be willing to peek at the changes I made to the package and see if I have configured something incorrectly.
Perhaps I need to install a component which I skipped in sections 1.3 - 1.5? Any suggestions will be appreciated.