Re: [AD] Improvements for the chm documentation version

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Here are some proposed improvements to the chm documentation:

Fine with me, except:

> - It builds, believe it or not, the cvs didn't for me.

CVS of today builds for me (Windows 95 OSR2, MS Help Compiler 4.74.8702).

> - To do the previous, chm documentation has to be generated in another
>   directory, because the html will be different.

Then add this 'chm' directory to the standard distribution: create it in the
CVS repository and populate it with the tmpfile.txt and .cvsignore files.
Also remove the 'mkdir' bit from the makefile.

> Please, somebody with a windows machine test this.

diff -u -r original/docs/src/makedoc/makechm.c
allegro/docs/src/makedoc/makechm.c
--- original/docs/src/makedoc/makechm.c Fri May 31 23:03:26 2002
+++ allegro/docs/src/makedoc/makechm.c Sat Jun  1 12:01:24 2002

 /* _write_hhp:
  */
 static int _write_hhp(const char *filename)
-{
-   FILE *file = fopen(filename, "w");
+{
+   FILE *file = fopen(filename, "wt");;

Doesn't compile for me (gcc 2.95.3).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/