Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207298 Details for
Bug 289278
=sys-apps/module-init-tools-3.11 compile fails to make manpages w/out docbook
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch configure/Makefile to make documentation optional
module-init-tools-3.11-with-doc.patch (text/plain), 1.59 KB, created by
Andrew Church
on 2009-10-16 11:07:01 UTC
(
hide
)
Description:
Patch configure/Makefile to make documentation optional
Filename:
MIME Type:
Creator:
Andrew Church
Created:
2009-10-16 11:07:01 UTC
Size:
1.59 KB
patch
obsolete
>--- Makefile.am.orig 2009-10-15 18:59:28 +0900 >+++ Makefile.am 2009-10-16 20:01:00 +0900 >@@ -36,10 +36,12 @@ > modinfo_LDADD = $(LDADD) libmodtools.a > modindex_LDADD = $(LDADD) libmodtools.a > >+if WITH_DOC > MAN5 = modprobe.conf.5 modules.dep.5 depmod.conf.5 modprobe.d.5 > MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8 > SGML = $(addprefix doc/, $(MAN5:%.5=%.sgml) $(MAN8:%.8=%.sgml)) > dist_man_MANS = $(MAN5) $(MAN8) >+endif > # If they haven't overridden mandir, fix it (never /man!) > mandir =$(shell if [ @mandir@ = $(prefix)/man ]; then if [ $(prefix) = / ]; then echo /usr/share/man; else echo $(prefix)/share/man; fi; else echo @mandir@; fi) > >--- configure.ac.orig 2009-10-15 18:59:28 +0900 >+++ configure.ac 2009-10-16 20:05:22 +0900 >@@ -29,12 +29,21 @@ > AC_PROG_CC > AC_PROG_RANLIB > >-AC_CHECK_PROGS(DOCBOOKTOMAN, docbook-to-man docbook2man, [no],) >-if test x"$DOCBOOKTOMAN" = xno >+AC_ARG_WITH(doc, >+AS_HELP_STRING([--with-doc], [Build man pages (requires docbooktoman)]), >+[WITH_DOC=${withval}], >+[WITH_DOC=no]) >+AM_CONDITIONAL(WITH_DOC, test "yes" = "${WITH_DOC}") >+ >+if test "yes" = "${WITH_DOC}" > then >- AC_MSG_WARN([docbook2man not found]) >- # fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile >- DOCBOOKTOMAN=docbook2man >+ AC_CHECK_PROGS(DOCBOOKTOMAN, docbook-to-man docbook2man, [no],) >+ if test x"$DOCBOOKTOMAN" = xno >+ then >+ AC_MSG_WARN([docbook2man not found, skipping man page generation]) >+ # fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile >+ DOCBOOKTOMAN=docbook2man >+ fi > fi > > # Delay adding the zlib_flags until after AC_PROG_CC, so we can distinguish
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 289278
:
207282
| 207298 |
207299