Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdcc2049

Browse files
committed
Removed non-actual conditions for documentations suppport
1 parent15389c4 commitdcc2049

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
@@ -186,12 +186,8 @@ rem download help sources
186186
CD /D%DOWNLOADS_DIR%
187187
SETDOCURL=http://repo.postgrespro.ru/doc
188188

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

196192
rem building help files
197193
CD /D%BUILD_DIR%\postgresql
@@ -209,7 +205,6 @@ CD help-en
209205
"C:\Program Files (x86)\HTML Help Workshop\hhc" htmlhelp.hhp
210206
cp htmlhelp.chm%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\doc\postgresql-en.chm||GOTO :ERROR
211207

212-
:NO_HELP_SOURCES
213208
7z a -r%DOWNLOADS_DIR%\pgsql_%ARCH%_%PGVER%.zip%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql||GOTO :ERROR
214209

215210
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
SETCL=/MP
131-
132-
SETHAVE_PGSQL_DOC=0
133-
134-
if"%PRODUCT_NAME%"=="PostgreSQL 1C"GOTO :NO_PGSQL_DOC
135-
if"%PG_MAJOR_VERSION%"=="9.5"SETHAVE_PGSQL_DOC=1
136-
if"%PG_MAJOR_VERSION%"=="9.6"SETHAVE_PGSQL_DOC=1
137-
if"%PG_MAJOR_VERSION%"=="10"SETHAVE_PGSQL_DOC=1
138-
if"%PG_MAJOR_VERSION%"=="11"SETHAVE_PGSQL_DOC=1
139-
if"%PG_MAJOR_VERSION%"=="12"SETHAVE_PGSQL_DOC=1
140-
:NO_PGSQL_DOC

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp