From: dpage Date: Tue, 24 Mar 2009 10:31:12 +0000 (+0000) Subject: Make sure hhp2cached is available when rebuilding the docs. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=92c9ae1bedbf252be288a248397539effba5a1ed;p=users%2Fquan74%2Fpgadmin-import.git Make sure hhp2cached is available when rebuilding the docs. git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7752 a7884b65-44f6-0310-8a51-81a127f17b15 --- diff --git a/docs/builddocs.bat b/docs/builddocs.bat index dd05b684c..579c65ac2 100644 --- a/docs/builddocs.bat +++ b/docs/builddocs.bat @@ -4,6 +4,12 @@ REM Compile the HTML Help "%ProgramFiles%\HTML Help Workshop\hhc.exe" ./en_US/pgadmin3.hhp REM Regenerate the cache file used by the wx viewer. +IF NOT EXIST %WXWIN%\utils\hhp2cached\vc_mswu\hhp2cached.exe GOTO NO_HHP2CACHED + "%WXWIN%\utils\hhp2cached\vc_mswu\hhp2cached.exe" ./en_US/pgadmin3.hhp -EXIT 0 \ No newline at end of file +EXIT 0 + +:NO_HHP2CACHED +ECHO Could not find %WXWIN%\utils\hhp2cached\vc_mswu\hhp2cached.exe!! +EXIT 1 \ No newline at end of file