Skip to content

Commit b68b04b

Browse files
committed
Removed non-actual conditions for documentations suppport
1 parent 502d3b7 commit b68b04b

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

build/helpers/postgres.cmd

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,8 @@ rem download help sources
184184
CD /D %DOWNLOADS_DIR%
185185
SET DOCURL=http://repo.postgrespro.ru/doc
186186

187-
IF %HAVE_PGSQL_DOC% == 1 (
188-
if "%PRODUCT_NAME%" == "PostgreSQL" %WGET% -O help-sources-en.zip %DOCURL%/pgsql/%PG_MAJOR_VERSION%/en/help-sources.zip || GOTO :ERROR
189-
if "%PRODUCT_NAME%" == "PostgreSQL" %WGET% -O help-sources-ru.zip %DOCURL%/pgsql/%PG_MAJOR_VERSION%/ru/help-sources.zip || GOTO :ERROR
190-
) ELSE (
191-
GOTO :NO_HELP_SOURCES
192-
)
187+
%WGET% -O help-sources-en.zip %DOCURL%/pgsql/%PG_MAJOR_VERSION%/en/help-sources.zip || GOTO :ERROR
188+
%WGET% -O help-sources-ru.zip %DOCURL%/pgsql/%PG_MAJOR_VERSION%/ru/help-sources.zip || GOTO :ERROR
193189

194190
rem building help files
195191
CD /D %BUILD_DIR%\postgresql
@@ -207,7 +203,6 @@ CD help-en
207203
"C:\Program Files (x86)\HTML Help Workshop\hhc" htmlhelp.hhp
208204
cp htmlhelp.chm %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\doc\postgresql-en.chm || GOTO :ERROR
209205

210-
:NO_HELP_SOURCES
211206
7z a -r %DOWNLOADS_DIR%\pgsql_%ARCH%_%PGVER%.zip %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql || GOTO :ERROR
212207

213208
GOTO :DONE

build/helpers/setvars.cmd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,3 @@ REM Magic to set root directory of those scripts (Where Readme.md lies)
128128

129129
REM Let's use MP for nmake for parallel build
130130
SET CL=/MP
131-
132-
SET HAVE_PGSQL_DOC=0
133-
134-
if "%PRODUCT_NAME%" == "PostgreSQL 1C" GOTO :NO_PGSQL_DOC
135-
if "%PG_MAJOR_VERSION%" == "9.5" SET HAVE_PGSQL_DOC=1
136-
if "%PG_MAJOR_VERSION%" == "9.6" SET HAVE_PGSQL_DOC=1
137-
if "%PG_MAJOR_VERSION%" == "10" SET HAVE_PGSQL_DOC=1
138-
if "%PG_MAJOR_VERSION%" == "11" SET HAVE_PGSQL_DOC=1
139-
if "%PG_MAJOR_VERSION%" == "12" SET HAVE_PGSQL_DOC=1
140-
:NO_PGSQL_DOC

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy