Marco d'Itri wrote:
On Mar 13, Alan Jenkins <sourcejedi.lkml@xxxxxxxxxxxxxx> wrote:
Sorry, I can't reproduce this. I would guess you were using
docbook2man while I'm using docbook-to-man... but I can't see any
problem with either.
No, I switched to docbook-utils myself as well.
What command (+arguments) do you see being run to generate these files?
mkdir obj/ && cd obj/ && \
CFLAGS='-DCONFIG_NO_BACKWARDS_COMPAT -g' \
../configure --prefix=/ $(DISABLE_ZLIB) $(CROSS)
cp *.[0-9] obj/ # XXX workaround
cd obj && $(MAKE)
Unless I copy the man pages in the build directory, some are not
installed (I think tha ones which have not been regenerated).
Ok. I'm probably out of my depth here. I've never created a package, and
I don't use m-i-t's "make install" because it complains about
"modprobe.old" not existing.
I take it you're building from the release tarball, which includes man
pages in the toplevel source directory. As you say, when you build in a
separate directory, the manpages don't get rebuilt. They're treated as
already up to date, even though they're in the source directory. And
that's how it's supposed to work.
"make install" should pick up the man pages regardless of whether
they're in the build directory or the source directory (in that order).
That's what seems to happen when I run it.
$ wget http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.7-pre9.tar.bz2
$ tar xvf module-init-tools-3.7-pre9.tar.bz2
$ cd module-init-tools-3.7-pre9
$ ../configure --prefix=/usr/local; make > /dev/null
$ sudo make install
$ find /usr/local/ -name "*mod*.[0-9]"
find /usr/local/ -name "*mod*.[0-9]"
/usr/local/share/man/man5/modprobe.conf.5
/usr/local/share/man/man5/modules.dep.5
/usr/local/share/man/man5/depmod.conf.5
/usr/local/share/man/man8/modinfo.8
/usr/local/share/man/man8/insmod.8
/usr/local/share/man/man8/rmmod.8
/usr/local/share/man/man8/lsmod.8
/usr/local/share/man/man8/depmod.8
/usr/local/share/man/man8/modprobe.8
I'm too dumb to work out what's happening here without more information.
You'll have to wait for Jon to try and work it out, do it yourself, or
send me something more specific. E.g. a complete transcript ala
script(1) of the failing configure+build+install :-).
I'm also puzzled when you say it's only a problem for _some_ manpages.
It might help to know which of the manpages have a problem.
Regards
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html