Переглянути джерело

Move ISPP's synch-isfiles.bat into its Help dir since it only copies help related files. Also call it automatically from the Help's compile.bat.

Martijn Laan 1 рік тому
батько
коміт
def91e94c5

+ 5 - 0
Projects/ISPP/Help/compile.bat

@@ -23,6 +23,11 @@ if "%HHCEXE%"=="" goto compilesettingserror
 
 rem -------------------------------------------------------------------------
 
+echo Synching IS files:
+echo.
+call synch-isfiles.bat
+if errorlevel 1 goto failed
+
 echo Generating help files using ISHelpGen:
 echo.
 ..\..\..\ishelp\ISHelpGen\ISHelpGen.exe .

+ 11 - 0
Projects/ISPP/Help/synch-isfiles.bat

@@ -0,0 +1,11 @@
+copy ..\..\..\ishelp\isetup.dtd
+copy ..\..\..\ishelp\staging\contents.css staging
+copy ..\..\..\ishelp\staging\contents.js staging
+copy ..\..\..\ishelp\staging\styles.css staging
+copy ..\..\..\ishelp\staging\topic.js staging
+copy ..\..\..\ishelp\staging\images\contentsheadclosed.png staging\images
+copy ..\..\..\ishelp\staging\images\contentsheadopen.png staging\images
+copy ..\..\..\ishelp\staging\images\contentstopic.png staging\images
+copy ..\..\..\ishelp\staging\images\extlink.png staging\images
+
+pause

+ 0 - 12
Projects/ISPP/synch-isfiles.bat

@@ -1,12 +0,0 @@
-copy ..\..\ishelp\isetup.dtd help
-copy ..\..\ishelp\staging\contents.css help\staging
-copy ..\..\ishelp\staging\contents.js help\staging
-copy ..\..\ishelp\staging\styles.css help\staging
-copy ..\..\ishelp\staging\topic.js help\staging
-copy ..\..\ishelp\staging\images\contentsheadclosed.png help\staging\images
-copy ..\..\ishelp\staging\images\contentsheadopen.png help\staging\images
-copy ..\..\ishelp\staging\images\contentstopic.png help\staging\images
-copy ..\..\ishelp\staging\images\extlink.png help\staging\images
-
-
-pause

+ 1 - 1
README.md

@@ -155,7 +155,7 @@ How do the projects link together?
   unit.
 
 - The ISPP help file uses various copies of other Inno Setup files. To synch
-  these run **synch-isfiles.bat**.
+  these run **ISPP\Help\synch-isfiles.bat**.
 
 
 Source code tips