View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#9
Originally Posted by FunFair View Post
i dono did i gt what u mean... is that mean after i "qmake" and "make"... i have to manual run the "maemo-optify.deb"... after that just "dpkg-buildpackage"... ? if so... i dun really need to setting in the "rules" file... ?

i'm using MADDE to compile...
I doubt maemo-optify will work at all with MADDE. You're better modifying your .pro file to install under /opt instead of under /usr. For example, looking at http://wiki.maemo.org/MADDE/Packaging, in step 6 change the Exec to point to /opt/<projectname>/<projectname> and in Step 7 change the target.path to /opt/<projectname>. Obviously, for more complex programs there'll be other parts that need changing (install locations for data files, etc).