i wish to generate a Debian package from source written in c++ with makefile already prepared
Hello:
you may ask on the Debian mentor list.
hth,
Jerome
On 21/03/12 12:58, Gershon Celniker wrote:
i wish to generate a Debian package from source written in c++ with
makefile already ready,
so i used dh_make and prepared all the needed configuration file, all
but rules file - this one is a bit tricky, because i cant find a way
to execute the make command at the destination folder.
my question is how to write the generate file so it will copy the
source files to /usr/share/my folder and execute make command there.
Best,
Gershon Celniker
Bioinformatics developer - TAU - Tel Aviv University
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
i wish to generate a Debian package from source written in c++ with makefile already prepared
Gershon Celniker writes:
> i wish to generate a Debian package from source written in c++ with
> makefile already ready,
> so i used dh_make and prepared all the needed configuration file, all
> but rules file - this one is a bit tricky, because i cant find a way
> to execute the make command at the destination folder.
>
> my question is how to write the generate file so it will copy the
> source files to /usr/share/my folder and execute make command there.
The install target in the rules file will install all the files into
your hierarchy. You don't place directly the files into the system, but
install them under the DESTDIR variable, where the package scripts will
find them. Here you have some tips:
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87bonq5do4.fsf@eps142.cdf.udc.es">http://lists.debian.org/87bonq5do4.fsf@eps142.cdf.udc.es