diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-04-23 17:54:46 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-04-23 17:54:46 +0300 |
commit | a5855defe5846c1b12425556761e1269489b7105 (patch) | |
tree | 8290aa833545240eb01e6226ebf90e26fda77122 | |
parent | 176430825d7dd3b133ffe2b21446f04b10bdeaf7 (diff) | |
download | pam-modules-a5855defe5846c1b12425556761e1269489b7105.tar.gz pam-modules-a5855defe5846c1b12425556761e1269489b7105.tar.bz2 |
Fix doc generation.
Default Config file applied to all output formats, which is wrong.
Use a dedicated configuration file for html output formats, and
defaults for the rest.
* doc/Makefile.am (GENDOCS): Add html-specific configuration file.
* doc/Config: Rename to doc/html.init (with changes).
-rw-r--r-- | doc/Makefile.am | 2 | ||||
-rw-r--r-- | doc/html.init (renamed from doc/Config) | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index c6628cd..1c21968 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -131,7 +131,7 @@ final: imprimatur-final | |||
131 | # Just call `make RENDITION=PROOF [target]' if you want PROOF rendition. | 131 | # Just call `make RENDITION=PROOF [target]' if you want PROOF rendition. |
132 | RENDITION = DISTRIB | 132 | RENDITION = DISTRIB |
133 | 133 | ||
134 | GENDOCS=$(srcdir)/gendocs.sh | 134 | GENDOCS=$(srcdir)/gendocs.sh --no-copy-images --html '--init-file=$(abs_srcdir)/html.init' |
135 | EXTRA_DIST += gendocs.sh | 135 | EXTRA_DIST += gendocs.sh |
136 | 136 | ||
137 | TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -I $(top_srcdir)/imprimatur | 137 | TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -I $(top_srcdir)/imprimatur |
diff --git a/doc/Config b/doc/html.init index 0e01134..9523a9d 100644 --- a/doc/Config +++ b/doc/html.init | |||
@@ -77,12 +77,10 @@ set_from_init_file('PROGRAM_NAME_IN_FOOTER',1); | |||
77 | set_from_init_file('DEFAULT_RULE', ''); | 77 | set_from_init_file('DEFAULT_RULE', ''); |
78 | set_from_init_file('BIG_RULE', ''); | 78 | set_from_init_file('BIG_RULE', ''); |
79 | 79 | ||
80 | # Turn off footer buttons in section split | 80 | # Turn off navigation bars at the bottom of each section in chapter split mode, |
81 | set_from_init_file('SECTION_FOOTER_BUTTONS', undef); | 81 | # or subsection in section split mode. |
82 | #set_from_init_file('SECTION_BUTTONS', undef); | ||
83 | # Turn off navigation bars at the bottom of each section in chapter split mode | ||
84 | set_from_init_file('HEADERS', undef) | 82 | set_from_init_file('HEADERS', undef) |
85 | if (get_conf('SPLIT') and (get_conf('SPLIT') eq 'chapter')); | 83 | if ((get_conf('SPLIT') eq 'chapter') or (get_conf('SPLIT') eq 'section')); |
86 | # Use navigation icons | 84 | # Use navigation icons |
87 | 85 | ||
88 | set_from_init_file('ICONS', 1); | 86 | set_from_init_file('ICONS', 1); |
@@ -151,8 +149,11 @@ my @gray_buttons = (\&gray_document_title, ' ', | |||
151 | 'FastBack', ' ', 'Up', ' ', 'FastForward', ' ', | 149 | 'FastBack', ' ', 'Up', ' ', 'FastForward', ' ', |
152 | 'Contents', 'Index' ); | 150 | 'Contents', 'Index' ); |
153 | 151 | ||
152 | set_from_init_file('TOP_BUTTONS', \@gray_buttons); | ||
154 | set_from_init_file('SECTION_BUTTONS', \@gray_buttons); | 153 | set_from_init_file('SECTION_BUTTONS', \@gray_buttons); |
155 | set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons); | 154 | set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons); |
155 | set_from_init_file('NODE_FOOTER_BUTTONS', \@gray_buttons); | ||
156 | set_from_init_file('SECTION_FOOTER_BUTTONS', \@gray_buttons); | ||
156 | set_from_init_file('MISC_BUTTONS', | 157 | set_from_init_file('MISC_BUTTONS', |
157 | [\&gray_document_title, | 158 | [\&gray_document_title, |
158 | 'Contents', | 159 | 'Contents', |