mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Fix (hopefully) some oversights in recent Bison cleanup patch.
Per buildfarm results.
This commit is contained in:
parent
449a00fbbd
commit
b8f5ea7685
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
REM $PostgreSQL: pgsql/src/tools/msvc/clean.bat,v 1.14 2008/08/29 13:02:33 petere Exp $
|
||||
REM $PostgreSQL: pgsql/src/tools/msvc/clean.bat,v 1.15 2008/08/30 02:32:24 tgl Exp $
|
||||
|
||||
set DIST=0
|
||||
if "%1"=="dist" set DIST=1
|
||||
@ -51,16 +51,14 @@ if exist src\port\pg_config_paths.h del /q src\port\pg_config_paths.h
|
||||
if exist src\pl\plperl\spi.c del /q src\pl\plperl\spi.c
|
||||
if %DIST%==1 if exist src\pl\plpgsql\src\pl_scan.c del /q src\pl\plpgsql\src\pl_scan.c
|
||||
if %DIST%==1 if exist src\pl\plpgsql\src\pl_gram.c del /q src\pl\plpgsql\src\pl_gram.c
|
||||
if %DIST%==1 if exist src\pl\plpgsql\src\pl.tab.h del /q src\pl\plpgsql\src\pl.tab.h
|
||||
if %DIST%==1 if exist src\pl\plpgsql\src\pl_gram.h del /q src\pl\plpgsql\src\pl_gram.h
|
||||
|
||||
if %DIST%==1 if exist src\bin\psql\psqlscan.c del /q src\bin\psql\psqlscan.c
|
||||
|
||||
if %DIST%==1 if exist contrib\cube\cubescan.c del /q contrib\cube\cubescan.c
|
||||
if %DIST%==1 if exist contrib\cube\cubeparse.c del /q contrib\cube\cubeparse.c
|
||||
if %DIST%==1 if exist contrib\cube\cubeparse.h del /q contrib\cube\cubeparse.h
|
||||
if %DIST%==1 if exist contrib\seg\segscan.c del /q contrib\seg\segscan.c
|
||||
if %DIST%==1 if exist contrib\seg\segparse.c del /q contrib\seg\segparse.c
|
||||
if %DIST%==1 if exist contrib\seg\segparse.h del /q contrib\seg\segparse.h
|
||||
|
||||
if exist src\test\regress\tmp_check rd /s /q src\test\regress\tmp_check
|
||||
if exist contrib\spi\refint.dll del /q contrib\spi\refint.dll
|
||||
|
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.9 2008/08/29 13:02:33 petere Exp $
|
||||
REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.10 2008/08/30 02:32:24 tgl Exp $
|
||||
|
||||
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
|
||||
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
|
||||
@ -17,10 +17,10 @@ goto nobison
|
||||
|
||||
if "%1" == "src\backend\parser\gram.y" call :generate %1 src\backend\parser\gram.c src\backend\parser\gram.h
|
||||
if "%1" == "src\backend\bootstrap\bootparse.y" call :generate %1 src\backend\bootstrap\bootparse.c
|
||||
if "%1" == "src\pl\plpgsql\src\gram.y" call :generate %1 src\pl\plpgsql\src\pl_gram.c src\pl\plpgsql\src\pl.tab.h
|
||||
if "%1" == "src\pl\plpgsql\src\gram.y" call :generate %1 src\pl\plpgsql\src\pl_gram.c src\pl\plpgsql\src\pl_gram.h
|
||||
if "%1" == "src\interfaces\ecpg\preproc\preproc.y" call :generate %1 src\interfaces\ecpg\preproc\preproc.c src\interfaces\ecpg\preproc\preproc.h
|
||||
if "%1" == "contrib\cube\cubeparse.y" call :generate %1 contrib\cube\cubeparse.c contrib\cube\cubeparse.h
|
||||
if "%1" == "contrib\seg\segparse.y" call :generate %1 contrib\seg\segparse.c contrib\seg\segparse.h
|
||||
if "%1" == "contrib\cube\cubeparse.y" call :generate %1 contrib\cube\cubeparse.c
|
||||
if "%1" == "contrib\seg\segparse.y" call :generate %1 contrib\seg\segparse.c
|
||||
|
||||
echo Unknown bison input: %1
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user