dpkg-buildpackage and debhelper: removed debian/tmp

July 13th, 2012 - 08:40 am ET by Michael Gissing | Report spam
Hi all,

I'm not sure whether that's the suitable mailing list, so if theres a
better one I would really appreciate a hint.

I'm trying to build a package using dpkg-buildpackage and debhelper.

.
.
.
dh binary
dh_testroot
dh_prep
rm -f debian/mypackage.substvars
rm -f debian/mypackage.*.debhelper
rm -rf debian/mypackage/
rm -rf debian/tmp
dh_installdirs
install -d debian/mypackage
install -d debian/mypackage/usr/bin debian/mypackage/var/mypackage/nv
debian/mypackage/var/log/mypackage
dh_auto_install
dh_install
cp -a debian/tmp/bin/mybin debian/mypackage/usr/bin/
cp: cannot stat `debian/tmp/bin/mybin': No such file or directory

It's obvious that dh_install can't find the file in debian/tmp because
dh_prep just removed the dir three steps before. That's somehow strange,
since dh_install will look for files in debian/tmp per default.

Do I miss something? Why does dh_prep remove a dir that dh_install will
use per default?

Any help would be appreciated, thx
Michael


To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/50000FC2.7020709@tugraz.at
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Cyril Brulebois
July 13th, 2012 - 08:50 am ET | Report spam

Hello,

Michael Gissing (13/07/2012):
I'm not sure whether that's the suitable mailing list, so if theres
a better one I would really appreciate a hint.



I think you want debian-user@ or

Mraw,
KiBi.





To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/

Similar topics