[gimp-help/gimp-help-2-10] build: ignore the pdf/ directory when building installers.



commit 76d52f12f3a50824963e87a906600622414a9388
Author: Jehan <jehan girinstud io>
Date:   Sat Mar 19 05:58:31 2022 +0100

    build: ignore the pdf/ directory when building installers.
    
    Otherwise it creates a gimp-help-2.10.0-pdf-setup.exe installer as
    though there were a 'pdf' language, because that's how our docs website
    is organized.

 build/windows/installer/build.bat | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/build/windows/installer/build.bat b/build/windows/installer/build.bat
index 5f9e122ec..cbbd79871 100644
--- a/build/windows/installer/build.bat
+++ b/build/windows/installer/build.bat
@@ -11,8 +11,10 @@ if not exist "%INNOPATH%\iscc.exe" goto noinno
 echo "%INNOPATH%"
 FOR /D %%l in (..\..\..\htdocs\2.10\*) DO if not "%l"=="..\..\..\htdocs\2.10\." (
     if not "%l"=="..\..\..\htdocs\2.10\.." (
+        if not "%l"=="..\..\..\htdocs\2.10\pdf" (
             echo Creating installer for %%~nxl
             "%INNOPATH%\iscc.exe" "gimp-help.iss" /DVERSION="%1" /DLANG="%%~nxl" 
/DHELPDIR="..\..\..\htdocs\2.10"
+        )
     )
 )
 goto end


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]