mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-14 15:55:30 +00:00
Fix conditional handling of EPUB support.
This commit is contained in:
parent
d035af36e8
commit
7f1beff016
@ -608,7 +608,12 @@ main(int argc, /* I - Number of command-line args */
|
|||||||
* Write EPUB (XHTML) documentation...
|
* Write EPUB (XHTML) documentation...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(HAVE_ARCHIVE_H) || defined(__APPLE__)
|
||||||
write_epub(section, title ? title : "Documentation", author ? author : "Unknown", copyright ? copyright : "Unknown", docversion ? docversion : "0.0", footerfile, headerfile, introfile, cssfile, epubfile, mxmldoc);
|
write_epub(section, title ? title : "Documentation", author ? author : "Unknown", copyright ? copyright : "Unknown", docversion ? docversion : "0.0", footerfile, headerfile, introfile, cssfile, epubfile, mxmldoc);
|
||||||
|
#else
|
||||||
|
fputs("mxmldoc: EPUB support not compiled in.\n", stderr);
|
||||||
|
return (1);
|
||||||
|
#endif /* HAVE_ARCHIVE_H || __APPLE__ */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OUTPUT_HTML :
|
case OUTPUT_HTML :
|
||||||
@ -616,9 +621,7 @@ main(int argc, /* I - Number of command-line args */
|
|||||||
* Write HTML documentation...
|
* Write HTML documentation...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
write_html(section, title ? title : "Documentation", footerfile,
|
write_html(section, title ? title : "Documentation", footerfile, headerfile, introfile, cssfile, framefile, docset, docversion ? docversion : "0.0", feedname, feedurl, mxmldoc);
|
||||||
headerfile, introfile, cssfile, framefile, docset,
|
|
||||||
docversion, feedname, feedurl, mxmldoc);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OUTPUT_MAN :
|
case OUTPUT_MAN :
|
||||||
|
Loading…
Reference in New Issue
Block a user