tom             Sun Jun 24 18:14:40 2001 EDT

  Modified files:              
    /phpdoc     make_chm.bat 
  Log:
  makes fancy-dir automatically now, and cleans up .hh*-files
  
Index: phpdoc/make_chm.bat
diff -u phpdoc/make_chm.bat:1.5 phpdoc/make_chm.bat:1.6
--- phpdoc/make_chm.bat:1.5     Sat Feb  3 12:04:01 2001
+++ phpdoc/make_chm.bat Sun Jun 24 18:14:40 2001
@@ -1,50 +1,55 @@
-@echo off
-
-rem !! Please read the make_chm.README file for information
-rem !! about how to build a manual_lang.chm file.
-
-rem Path of the PHP CGI executable
-set PHP_PATH=D:\progra~1\php404\php.exe
-
-rem Path of the Help Compiler command line tool
-set PHP_HELP_COMPILER=D:\progra~1\helpwo~1\hhc.exe
-
-rem The language of the manual to compile
-set PHP_HELP_COMPILE_LANG=en
-
-rem The source directory with the original DSSSL made HTML
-set PHP_HELP_COMPILE_DIR=html
-
-rem The index file in this directory (manual.html or idex.html)
-set PHP_HELP_COMPILE_INDEX=index.html
-
-rem The directory, where the fancy files need to be copied
-set PHP_HELP_COMPILE_FANCYDIR=fancy
-
-rem ==========================================================
-rem !!!!!    DO NOT MODIFY ANYTHING BELOW THIS LINE      !!!!!
-rem ==========================================================
-
-echo.
-
-if a%1a == anormala goto skipfancy
-
-echo Now generating the fancy manual in %PHP_HELP_COMPILE_FANCYDIR% dir...
-%PHP_PATH% -q make_chm_fancy.php
-
-goto normal
-
-:skipfancy
-set PHP_HELP_COMPILE_FANCYDIR=
-echo Skipping fancy manual generation...
-
-:normal
-
-echo Now running the toc and project file generator script...
-%PHP_PATH% -q make_chm.php
-
-echo Compiling the actual helpfile (manual-%PHP_HELP_COMPILE_LANG%-date.chm)...
-%PHP_HELP_COMPILER% manual-%PHP_HELP_COMPILE_LANG%.hhp
-
-echo Done!
-echo.
+@echo off
+
+rem !! Please read the make_chm.README file for information
+rem !! about how to build a manual_lang.chm file.
+
+rem Path of the PHP CGI executable
+set PHP_PATH=D:\progra~1\php404\php.exe
+
+rem Path of the Help Compiler command line tool
+set PHP_HELP_COMPILER=D:\progra~1\helpwo~1\hhc.exe
+
+rem The language of the manual to compile
+set PHP_HELP_COMPILE_LANG=en
+
+rem The source directory with the original DSSSL made HTML
+set PHP_HELP_COMPILE_DIR=html
+
+rem The index file in this directory (manual.html or index.html)
+set PHP_HELP_COMPILE_INDEX=index.html
+
+rem The directory, where the fancy files need to be copied
+set PHP_HELP_COMPILE_FANCYDIR=fancy
+
+rem ==========================================================
+rem !!!!!    DO NOT MODIFY ANYTHING BELOW THIS LINE      !!!!!
+rem ==========================================================
+
+echo.
+
+if a%1a == anormala goto skipfancy
+
+echo Now generating the fancy manual in %PHP_HELP_COMPILE_FANCYDIR% dir...
+IF NOT EXIST %PHP_HELP_COMPILE_FANCYDIR%\NUL md %PHP_HELP_COMPILE_FANCYDIR%
+%PHP_PATH% -q make_chm_fancy.php
+
+goto normal
+
+:skipfancy
+set PHP_HELP_COMPILE_FANCYDIR=
+echo Skipping fancy manual generation...
+
+:normal
+
+echo Now running the toc and project file generator script...
+%PHP_PATH% -q make_chm.php
+
+echo Compiling the actual helpfile (manual-%PHP_HELP_COMPILE_LANG%-date.chm)...
+%PHP_HELP_COMPILER% manual-%PHP_HELP_COMPILE_LANG%.hhp
+
+echo.
+echo Cleaning up the directory
+del manual-%PHP_HELP_COMPILE_LANG%.hh?
+
+echo Done!
+echo.


Reply via email to