"make DESTDIR
I did the following steps
- untared libtheora-1.0alpha4.tar.bz2
- cd libtheora-1.0alpha4/
- ./configure --prefix=/usr/
- make
- cd doc
- make DESTDIR=/home/balav/install install
At step 6 I got the following error
for dir in libtheora/; do
if test -d $dir; then
b=basename $dir
;
mkdir -p -- . /usr//share/doc/libtheora-1.0alpha4/$b;
for f in $dir/; do
/jds/cbe/bin/install -c -m 644 f /usr//share/doc/libtheora-1.0alpha4/
b;
done
fi
done
fi
/jds/cbe/bin/install: cannot remove `/usr//share/doc/libtheora-1.0alpha4/html/annotated.html': Permission denied
mkdir -p -- . /usr//share/doc/libtheora-1.0alpha4
if test -d libtheora; then The last line repeated for the files inside the doc directory
Instead of installing in /home/balav/install/share /doc, its trying to install in /usr/share/doc and hence this problem.
Will be attaching a patch which solves this problem, please review the patch and give your comments. Thanks