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

From: Angel Ortega <angel_triptico.com>
Date: Wed, 2 Apr 2008 08:53:07 +0200
Paul Bonser (pib_paulbonser.com) wrote:

> 
> I had to make some changes to get MP to build properly when running "make
> deb"

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.

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.

-- 
Angel Ortega



-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.


Received on Wed Apr 02 2008 - 08:54:46 CEST

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