dh_make create the debian folder in the source directory for you. Usage is far simple, just point your terminal (as user, not as root) in the source directory and run dh_make. dh_make needs some parameters, or it present you some questions to answer. My on-liner for dh_make is as followed:briandc wrote:Can you explain this a bit further? I think this might be useful for many a user here.
Code: Select all
yes '' | dh_make -s -n -e $USER@org -p appname_version.number -c gpl >/dev/null
Thus will create the debian folder with all needed files in it. As next you run
Code: Select all
dpkg-buildpackage -rfakeroot -b
That will work for any application which use the usual ./configure make make install procedure.
For applications which use other build environments, you need to overwrite dh_auto_configure in the debian/rules file, as a example:
Code: Select all
echo -e "\noverride_dh_auto_configure:\n\t./autogen.sh\n\tdh_auto_configure -- --enable-experimental" >>./debian/rules
more info on that theme you could find here:
http://www.debian.org/doc/manuals/maint ... html#rules