Packaging an application written in C

Posted by Jishnu on Ask Ubuntu See other posts from Ask Ubuntu or by Jishnu
Published on 2012-07-10T09:06:44Z Indexed on 2012/07/10 9:22 UTC
Read the original article Hit count: 184

Filed under:

I have an application written in C. What I have is a bunch of c files and some .h files. Also, I created a Makefile to do compilation. How can I compile this into a deb package.

I searched google, and put everything into a "name_0.1.orig.tar.gz" file and created a folder named "name-0.1", then inside that folder, "dh_make"

Skipping creating ../name_0.1.orig.tar.gz because it already exists
Currently there is no top level Makefile. This may require additional tuning.
Done. Please edit the files in the debian/ subdirectory now. You should also
check that the name Makefiles install into $DESTDIR and not in / .

I have a Makefile in name.tar.gz, why it is not recognizing ?

© Ask Ubuntu or respective owner

Related posts about packaging