Re: building own package
On Wednesday 03 August 2005 08:12 PM, Tomas Davidek wrote:
Yes, this is exactly the problem - the *.orig.tar.gz should be unpacked,
but apparently it is not. When I have in my makefile:
cp -a usr $(DESTDIR)/usr
it fails with the error message:
# Add here commands to install the package into debian/ucjf-security.
make: Entering directory `/home/davidek/debian/ucjf-security-1.0.2'
cp -a usr /home/davidek/debian/ucjf-security-1.0.2/debian/ucjf-security/usr
cp: cannot stat `usr': No such file or directory
make: *** [install] Error 1
make: Leaving directory `/home/davidek/debian/ucjf-security-1.0.2'
make: *** [install] Error 2
Its clearly mentioned in the New Maintainers' guide that you have to
create the directory in your Makefile as 'usr' directory will already
exsit on your system.Since you are installing it in your them directory
i.e debian/ucjf-security.Just add any one of these lines:
install -d $(DESTDIR)/usr
it will work fine.