[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with dpkg-buildpackage -rfakeroot / dh_movefiles: debian/tmp does not exist.



Hello,

this is my first package from scratch and I have a problem.:(
I read http://www.de.debian.org/doc/maint-guide/ but I have an error when
I run:
	dpkg-buildpackage -rfakeroot

...
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
        rm -f debian/substvars debian/postinst.debhelper
debian/postrm.debhelper debian/preinst.debhelper debian/prerm.debhelper
        rm -rf debian/drac
        find . -type f -a \( -name \#\*\# -o -name \*\~ -o -name DEADJOE
-o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o
-name .\*.rej -o -name .SUMS -o -name TAGS -o -name core -o \( -path
\*/.deps/\* -a -name \*.P \) \) -exec rm -f {} \;
dh_installdirs
        install -d debian/drac
        install -d debian/drac/usr/sbin debian/drac/usr/share/man/man3
# Add here commands to install the package into debian/drac.
/usr/bin/make install DESTDIR=`pwd`/debian/drac
make[1]: Entering directory `/home/noel/deb/drac-1.11'
install -c -o bin -g bin -m 0755 rpc.dracd /home/noel/deb/drac-1.11/debian/drac/usr/sbin
make[1]: Leaving directory `/home/noel/deb/drac-1.11'
dh_movefiles
dh_movefiles: debian/tmp does not exist.
make: *** [install] Error 1

some lines from debian/rules:
export DH_COMPAT=3
...
install: DH_OPTIONS=
install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs

        # Add here commands to install the package into debian/drac.
        $(MAKE) install DESTDIR=`pwd`/debian/drac

        dh_movefiles
...

If I switch the install line to DESTDIR=`pwd`/debian/tmp
but dh_installdirs always installs into debian/drac

Where is my error?

Thank you.

-- 
	Noel



Reply to: