Reply
Thread Tools
Posts: 90 | Thanked: 48 times | Joined on Dec 2009 @ Montpellier, France
#1
Hi,

how is it possible to add files in debian package with MADDE, and define location of each file ? I have looked in prog.pro and in the debian folder, but I've not seen where I can define which external file I want to include, and where I want to install it on the user fs. I've just seen a folder generated by mad dpkg-buildpackage (debian/{project_name}/) in which there is usr/bin/{project_exec}, usr/sbin (empty) and usr/share/doc... but it's a folder automatically generated.

I'd like to package my project as clean as possible, and put everything in /opt, but there is no doc for MADDE available.

If someone has an answer, it will be very helpfull thanks

edit : in facts it's in the debian/rules file, after the line "# Add here commands to install the package into debian/" we can put the commands to copy files and folders in the package
__________________
Smash is the way you deal with your life, like an outcast you're smashing your strife

Last edited by ravioli156; 2010-01-06 at 20:58.
 

The Following User Says Thank You to ravioli156 For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Hi,

I have described how to do that as an example for the .desktop file in this post. This should show you how it works. This post is a short version of the Qt packaging guide. I will check how the optification works and add a more detailed example to the MADDE documentation.

Daniel
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:00.