On Sat, Jul 28, 2001 at 01:24:21AM +0100, Will Newton wrote:
>
> I've been trying to create my first debian package following the New
> Maintainers Guide, and I've run into a problem. The guide mentions that
> binaries should be installed to ./debian/tmp and then dh_movefiles will move
> them as necessary to the correct destination. Unfortunately, while the
> destination directories are created correctly ./debian/tmp is not, so when
> the make tries to install I get "No such file or directory".
>
> The example uses install with the -d flag, which would avoid this problem.
> However I would like to avoid having to make any further changes to the build
> system if that were possible, and it would seem that there should be a
> debhelper that might do this.
Why not make the change in debian/rules rather than in the package's
Makefile?
install -d debian/tmp
$(MAKE) install DESTDIR=$(PWD)/debian/tmp
Should do the trick.
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]