View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
dh_make assumes you're using a Makefile but as this is a raw python app, I presume you aren't. An easy way to get started is to comment the make lines, and make an file called 'install' in debian/

This file works like this:
file destination
entire_contents_of_ folder destination

So, if you want to install the file "gobbled" which is in the same folder as where the debian folder is to /usr/bin, you'd write in your install file:
gobbled /usr/bin

If you want to install the files in the folder "gobbled_res" (which is in the same location as debian/ is) to /usr/share/gobbled, you'd write:
gobbled_res/ /usr/share/gobbled

Then uncomment dh_install from your rules.
dh_install handles creating dirs automatically.

That is just one way, have fun in finding more!

Good luck

Last edited by qwerty12; 2009-03-15 at 20:39.
 

The Following User Says Thank You to qwerty12 For This Useful Post: