public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* After EXTRA_DIST commit man files are not following --prefix
@ 2009-08-25 12:16 Ruslan N. Marchenko
  2009-08-25 14:44 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Ruslan N. Marchenko @ 2009-08-25 12:16 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

After
commit 8ddf2e8466abf785d7ffa3da44cf7ce8791c6297
Author: Marcel Holtmann <marcel@holtmann.org>
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: After EXTRA_DIST commit man files are not following --prefix
  2009-08-25 12:16 After EXTRA_DIST commit man files are not following --prefix Ruslan N. Marchenko
@ 2009-08-25 14:44 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-08-25 14:44 UTC (permalink / raw)
  To: Ruslan N. Marchenko; +Cc: linux-bluetooth

Hi Ruslan,

> commit 8ddf2e8466abf785d7ffa3da44cf7ce8791c6297
> Author: Marcel Holtmann <marcel@holtmann.org>
> 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.

just use ./configure --mandir. Why the prefix detection is broken is
unclear to me. Maybe the dist_man_MANS causes more problems actually.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-25 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 12:16 After EXTRA_DIST commit man files are not following --prefix Ruslan N. Marchenko
2009-08-25 14:44 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox