diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2013-02-25 12:00:53 -0500 |
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2013-02-25 12:00:53 -0500 |
| commit | a64e33f030f3ba379a0d3e22fe6bcda9dc3bbc60 (patch) | |
| tree | 46fa905607c27d10bab5526f6fdcd4ea21128ae6 /src/tools/msvc/clean.bat | |
| parent | aa05c37e823a41056273e73f6b3d168009a67c3f (diff) | |
| download | postgresql-a64e33f030f3ba379a0d3e22fe6bcda9dc3bbc60.tar.gz | |
Redo MSVC build implementation for pg_xlogdump.
The previous commit didn't work on MSVC editions earlier than
Visual Studio 2011, apparently. This works by copying files into the
contrib directory, and making provision to clean them up, which should
work on all editions.
Diffstat (limited to 'src/tools/msvc/clean.bat')
| -rwxr-xr-x | src/tools/msvc/clean.bat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/msvc/clean.bat b/src/tools/msvc/clean.bat index a2622ba2e4..e06838cc1e 100755 --- a/src/tools/msvc/clean.bat +++ b/src/tools/msvc/clean.bat @@ -78,6 +78,11 @@ REM Clean up datafiles built with contrib REM cd contrib REM for /r %%f in (*.sql) do if exist %%f.in del %%f +REM clean up files copied into contrib\pg_xlogdump +if exist contrib\pg_xlogdump\xlogreader.c del /q contrib\pg_xlogdump\xlogreader.c +for %%f in (contrib\pg_xlogdump\*desc.c) do if not %%f==contrib\pg_xlogdump\rmgrdesc.c del /q %%f + + cd %D% REM Clean up ecpg regression test files |
