After EXTRA_DIST commit man files are not following --prefix
From: Ruslan N. Marchenko <hidden>
Date: 2009-08-25 12:16:57
Hi,
After
commit 8ddf2e8466abf785d7ffa3da44cf7ce8791c6297
Author: Marcel Holtmann [off-list ref]
Date: Mon Aug 24 14:56:11 2009 -0700
All manual pages need a special EXTRA_DIST statement
man pages are not following --prefix
I'm doing
./bootstrap-configure --prefix=/opt/bluez --disable-audio
and then
make install
which results into
...
/usr/bin/install -c -m 644 'lib/hidp.h' '/opt/bluez/include/bluetooth/hidp.h'
test -z "/usr/share/man/man1" || /bin/mkdir -p "/usr/share/man/man1"
/usr/bin/install -c -m 644 'rfcomm/rfcomm.1' '/usr/share/man/man1/rfcomm.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/rfcomm.1': Permission denied
/usr/bin/install -c -m 644 'tools/hcitool.1' '/usr/share/man/man1/hcitool.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/hcitool.1': Permission denied
/usr/bin/install -c -m 644 'tools/sdptool.1' '/usr/share/man/man1/sdptool.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/sdptool.1': Permission denied
/usr/bin/install -c -m 644 'tools/ciptool.1' '/usr/share/man/man1/ciptool.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/ciptool.1': Permission denied
/usr/bin/install -c -m 644 'test/rctest.1' '/usr/share/man/man1/rctest.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/rctest.1': Permission denied
/usr/bin/install -c -m 644 'test/hciemu.1' '/usr/share/man/man1/hciemu.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/hciemu.1': Permission denied
/usr/bin/install -c -m 644 'compat/hidd.1' '/usr/share/man/man1/hidd.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/hidd.1': Permission denied
/usr/bin/install -c -m 644 'compat/pand.1' '/usr/share/man/man1/pand.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/pand.1': Permission denied
/usr/bin/install -c -m 644 'compat/dund.1' '/usr/share/man/man1/dund.1'
/usr/bin/install: cannot create regular file
`/usr/share/man/man1/dund.1': Permission denied
make[1]: *** [install-man1] Error 1
make: *** [install-am] Error 2
I.e. i have specific directory in /opt/bluez and compiling bluez not
from root. But man files are tending to be installed to system prefix.
--
----
Looking forward to reading yours.
RUFF-RIPE DI76-GANDI RUFF-6BONE
Ruslan N. Marchenko