diff --git a/Makefile.in b/Makefile.in index 61e3021..8aae934 100644 --- a/Makefile.in +++ b/Makefile.in @@ -338,16 +338,16 @@ mxml.xml: mxmldoc-static mxml.h $(PUBLIBOBJS:.o=.c) $(RM) mxml.xml ./mxmldoc-static --header doc/reference.heading mxml.xml mxml.h $(PUBLIBOBJS:.o=.c) >doc/reference.html if test "x`uname`" = xDarwin; then \ - ./mxmldoc-static --docset ~/Library/Developer/Shared/Documentation/DocSets/org.minixml.docset \ + ./mxmldoc-static --docset org.minixml.docset \ --docversion @VERSION@ --feedname minixml.org \ --feedurl http://www.minixml.org/org.minixml.atom \ --header doc/docset.header --intro doc/docset.intro \ --css doc/docset.css --title "Mini-XML API Reference" \ - mxml.xml; \ + mxml.xml || exit 1; \ /Developer/usr/bin/docsetutil package --output org.minixml.xar \ --atom org.minixml.atom \ --download-url http://www.minixml.org/org.minixml.xar \ - ~/Library/Developer/Shared/Documentation/DocSets/org.minixml.docset; \ + org.minixml.docset || exit 1; \ fi valgrind: mxmldoc-static diff --git a/doc/reference.html b/doc/reference.html index 86cf902..0d4f2d7 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -142,6 +142,7 @@ hspace="10" width="100" height="100" alt="C">Library Reference

Contents

+\n", out); } @@ -5144,7 +5140,7 @@ write_toc(FILE *out, /* I - Output file */ "Documentation/index.html\n" "%s\n" "%s\n" - "", xmlid ++, name, name); + "\n", xmlid ++, name, name); } else { @@ -5157,9 +5153,7 @@ write_toc(FILE *out, /* I - Output file */ scut = find_public(scut, doc, "union"); } - if (xml) - fputs("\n", out); - else + if (!xml) fputs("\n", out); } @@ -5191,7 +5185,7 @@ write_toc(FILE *out, /* I - Output file */ "Documentation/index.html\n" "%s\n" "%s\n" - "", xmlid ++, name, name); + "\n", xmlid ++, name, name); } else { @@ -5204,9 +5198,7 @@ write_toc(FILE *out, /* I - Output file */ arg = find_public(arg, doc, "variable"); } - if (xml) - fputs("\n", out); - else + if (!xml) fputs("\n", out); } @@ -5238,7 +5230,7 @@ write_toc(FILE *out, /* I - Output file */ "Documentation/index.html\n" "%s\n" "%s\n" - "", xmlid ++, name, name); + "\n", xmlid ++, name, name); } else { @@ -5261,9 +5253,7 @@ write_toc(FILE *out, /* I - Output file */ * That's it! */ - if (xml) - fputs("\n", out); - else + if (!xml) fputs("\n", out); }