diff options
author | wlemb <wlemb> | 2002-06-15 09:32:04 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-06-15 09:32:04 +0000 |
commit | feecf18f5eeba1ff02ff4592fa75e8808bb46c13 (patch) | |
tree | 2475850e9b6159b33acbf3bce0b2e58837c8d655 /Makefile.in | |
parent | 515a9ec8dbc8a5d12a731d9a22a5ab65f37ee075 (diff) | |
download | groff-feecf18f5eeba1ff02ff4592fa75e8808bb46c13.tar.gz |
Don't produce HTML files if utility programs are missing.
* Makefile.in (make_html, make_install_html): New variables.
(MDEFINES): Updated.
* aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
utility programs.
* configure.ac: Use it.
* configure: Regenerated.
* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
(HTMLEXAMPLESFILES): This new variable.
(EXAMPLESIMAGEFILES): Renamed to...
(HTMLEXAMPLEIMAGEFILES): This.
(CLEANADD): Add HTMLEXAMPLEFILES.
(all): Use `make_html'.
(html): New target.
(install_data): Use `make_install_html'.
Move html stuff to...
(install_html): This new target.
(uninstall_sub): Updated.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index a0d36a13..0abfc4ba 100644 --- a/Makefile.in +++ b/Makefile.in @@ -189,6 +189,11 @@ man5dir=$(manroot)/man$(man5ext) man7ext=7 man7dir=$(manroot)/man$(man7ext) +# the configure script checks whether all necessary utility programs for +# grohtml are available -- only then we can build the HTML documentation +make_html=@make_html@ +make_install_html=@make_install_html@ + # DEFINES should include the following: # -DHAVE_MMAP if you have mmap() and <sys/mman.h> # -DARRAY_DELETE_NEEDS_SIZE if your C++ doesn't understand `delete []' @@ -346,6 +351,8 @@ MDEFINES= \ "man5dir=$(man5dir)" \ "man7ext=$(man7ext)" \ "man7dir=$(man7dir)" \ + "make_html=$(make_html)" \ + "make_install_html=$(make_install_html)" \ "mkinstalldirs=$(mkinstalldirs)" \ "tmac_wrap=$(tmac_wrap)" \ "sys_tmac_prefix=$(sys_tmac_prefix)" \ |