[Build-common-hackers] DEB_DESTDIR
Stefan Pfetzing
dreamind at dreamind.de
Thu Jan 12 16:54:37 UTC 2006
Hi folks,
I'm using cdbs to package lsh-utils (since the last upload), but I
today encountered a problem, that my package won't build on a machine
where no lsh-utils package was installed.
So I was looking for the reason, and I found thing like:
--- snip ---
test -z "/usr/bin" || mkdir -p -- . "/home/dreamind/src/lsh/cdbs/lsh-
utils-2.0.1cdbs/debian/tmp//usr/bin"
/usr/bin/install -c 'lsftp' '/home/dreamind/src/lsh/cdbs/lsh-
utils-2.0.1cdbs/debian/tmp//usr/bin/lsftp'
--- snap ---
(notice the //)
After changing buildvars.mk from:
DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_PACKAGES))/
and
DEB_DESTDIR = $(CURDIR)/debian/tmp/
to:
DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_PACKAGES))
and
DEB_DESTDIR = $(CURDIR)/debian/tmp
my package build fine.
bye
Stefan
--
http://www.dreamind.de/
Oroborus and Debian GNU/Linux Developer.
More information about the Build-common-hackers
mailing list