On Wed, Oct 05, 2005 at 01:22:49PM -0400, Charles Fry wrote: > At least in my case, the only change necessary to make Module::Build > work was: > > DEB_MAKEMAKER_INVOKE = /usr/bin/perl Makefile.PL installdirs=vendor \ > destdir=$(DEB_DESTDIR) noprompts=1 > DEB_MAKE_INSTALL_TARGET = install
My own approach was slightly different: DEB_MAKE_INVOKE := ./Build DEB_MAKE_BUILD_TARGET := build DEB_MAKE_INSTALL_TARGET := install --destdir $(if $(DEB_MAKEMAKER_PACKAGE),$(CURDIR)/debian/$(DEB_MAKEMAKER_PACKAGE),$(DEB_DESTDIR)) (Whether one has any advantage over the other is left as an exercise to the reader.) > The Module::Build documentation said that destdir could be specified as > an install parameter, but I couldn't get that to work. It's Module::Build::Compat, which is responsible for the Makefile legacy support, that's crippled in that way. ./Build supports install-time options correctly. -- Packages should build-depend on what they should build-depend. -- Santiago Vila on debian-devel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]