Re: [Patch] make config.sh --debian and make deb work

From: Paul Bonser <pib_paulbonser.com>
Date: Wed, 2 Apr 2008 09:48:53 -0500


On Wed, 2 Apr 2008 08:53:07 +0200, Angel Ortega <angel_triptico.com> wrote:
> I've detected some problems in your patch; if you build the package the
> ordinary way (i.e. not for Debian), the directory permissions were
changed
> to 644, which is plain wrong.

Ahh, I didn't even think about permissions.

> 
> I've found the best (in MPDM and MPSL's makefile.in files) is:
> 
> installdoc:
> 	install -d $(DOCDIR)
> 	install -m 644 doc/* $(DOCDIR)/
> 
> I still have to do more tests, though.
> 
> So, the correct steps to build a Debian package seem to be:
> 
>  ./config --debian
>  dh_make -p mped -r
>  make deb
> 
> Though I'm a Debian user, I'm not too fond on building debs, so take it
> with a grain of salt.

I'm fairly new to building debs myself, but I've started doing it recently
with any programs I use which don't have official packages, so it's easier
to upgrade them as new versions come out.

-- 
Paul Bonser
http://blog.paulbonser.com



-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.
Received on Wed Apr 02 2008 - 16:41:32 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 10 2008 - 08:59:26 CEST