Bug #5603


Break dependency on docbook in libshell & SUNWcs

Added by Dan McDonald almost 9 years ago. Updated over 8 years ago.

cmd - userland programs
Start date:
Due date:
% Done:


Estimated time:
Gerrit CR:
External Bug:


The aforementioned file breaks builds on distros without docbook. It's a mere two-line removal, one from each of two files:

--- old/usr/src/lib/libshell/Makefile.doc    Fri Oct 24 01:19:43 2014
+++ new/usr/src/lib/libshell/Makefile.doc    Fri Oct 24 01:19:43 2014
@@ -34,7 +34,6 @@
     OBSOLETE \\
     shell_styleguide.docbook \\
-    shell_styleguide.html \\
     images/tag_bourne.png \\
     images/tag_i18n.png \\
     images/tag_ksh88.png \\
--- old/usr/src/pkg/manifests/    Fri Oct 24 01:19:43 2014
+++ new/usr/src/pkg/manifests/    Fri Oct 24 01:19:43 2014
@@ -1446,7 +1446,6 @@
 file path=usr/share/doc/ksh/images/tag_l10n.png
 file path=usr/share/doc/ksh/images/tag_perf.png
 file path=usr/share/doc/ksh/shell_styleguide.docbook
-file path=usr/share/doc/ksh/shell_styleguide.html
 file path=usr/share/lib/mailx/
 file path=usr/share/lib/mailx/
 file path=usr/share/lib/tabset/3101

Actions #1

Updated by Andrew Stormont almost 9 years ago

If you don't have docbook is there any value in installing any of those files? shell_styleguide.docbook in particular looks like it's just cruft in that case.

To disable building of libshell documentation entirely you can drop the Makefile.doc include from the end of libshell Makefile (this one

Perhaps this could be hidden behind an ENABLE_DOCBOOK variable to make it conditional.

$(ENABLE_DOCBOOK)include Makefile.doc
Actions #2

Updated by Josef Sipek almost 9 years ago

I think there's a subtle distinction between illumos doesn't have docbook vs. illumos doesn't ship anything that requires docbook. I don't know if people find the style guide useful, but continuing to ship the .docbook file allows distros to generate the html themselves.

I view this change as the first of many that will make SUNWcs go away.

Actions #3

Updated by Andrew Stormont almost 9 years ago

It might make sense to update the title to something like "Break dependency on docbook" because I think that's what's really happening here. And I stand by what I said earlier. Why ship the docbook file if you don't have docbook? I think it's highly unlikely that anybody would want to use that file to generate documentation after illumos has been build.

Actions #4

Updated by Dan McDonald over 8 years ago

  • Subject changed from Break dependency on shell_styleguide.html to Break dependency on docbook in libshell & SUNWcs
Actions #5

Updated by Electric Monk over 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 1297d8898193fe6153c0d9a04833671e9d7068f4

commit  1297d8898193fe6153c0d9a04833671e9d7068f4
Author: Dan McDonald <>
Date:   2015-04-14T13:50:37.000Z

    5603 Break dependency on docbook in libshell & SUNWcs
    Reviewed by: Igor Kozhukhov <>
    Reviewed by: Hans Rosenfeld <>
    Reviewed by: Garrett D'Amore <>
    Approved by: Gordon Ross <>


Also available in: Atom PDF