aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-04-23 17:54:46 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2015-04-23 17:54:46 +0300
commita5855defe5846c1b12425556761e1269489b7105 (patch)
tree8290aa833545240eb01e6226ebf90e26fda77122
parent176430825d7dd3b133ffe2b21446f04b10bdeaf7 (diff)
downloadpam-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.am2
-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.
132RENDITION = DISTRIB 132RENDITION = DISTRIB
133 133
134GENDOCS=$(srcdir)/gendocs.sh 134GENDOCS=$(srcdir)/gendocs.sh --no-copy-images --html '--init-file=$(abs_srcdir)/html.init'
135EXTRA_DIST += gendocs.sh 135EXTRA_DIST += gendocs.sh
136 136
137TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -I $(top_srcdir)/imprimatur 137TEXI2DVI=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);
77set_from_init_file('DEFAULT_RULE', ''); 77set_from_init_file('DEFAULT_RULE', '');
78set_from_init_file('BIG_RULE', ''); 78set_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,
81set_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
84set_from_init_file('HEADERS', undef) 82set_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
88set_from_init_file('ICONS', 1); 86set_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
152set_from_init_file('TOP_BUTTONS', \@gray_buttons);
154set_from_init_file('SECTION_BUTTONS', \@gray_buttons); 153set_from_init_file('SECTION_BUTTONS', \@gray_buttons);
155set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons); 154set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons);
155set_from_init_file('NODE_FOOTER_BUTTONS', \@gray_buttons);
156set_from_init_file('SECTION_FOOTER_BUTTONS', \@gray_buttons);
156set_from_init_file('MISC_BUTTONS', 157set_from_init_file('MISC_BUTTONS',
157 [\&gray_document_title, 158 [\&gray_document_title,
158 'Contents', 159 'Contents',

Return to:

Send suggestions and report system problems to the System administrator.