View Single Post
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#8
Originally Posted by jamiefuller View Post
grrrr...

Well I've spent the best part of my night trying to make sense of this but am failing miserably.

i've ran dh_make, i've changed my debian/control file (added icon etc)

I just cannot get it to compile my app in the debian/rules, my app was quite simple so didn't have a make file, so I created a simple makefile for the packager to use

so now it compiles my app but doesn't install it(add it to the deb file). its trying to run the makefile with the install target but what am I supposed to put in there? I presume some kind of copy command, but to where?

It looks like the rules file passes DESTDIR variable to "make" but how do implement that?

Please, any help?
Please send more detailed information that we can help. Output of failed build might be helpful.

About DESTDIR case. You need 'install' target in you Makefile that uses DESTDIR. There is one example.

Code:
install: 
       mkdir -p $(DESTDIR)/usr/bin
       cp you_program $(DESTDIR)/usr/bin