OSDN Git Service

Properly install gram.h on MSVC builds
authorMagnus Hagander <magnus@hagander.net>
Sun, 9 Jan 2011 14:31:48 +0000 (15:31 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 9 Jan 2011 14:33:42 +0000 (15:33 +0100)
This file is now needed by pgAdmin builds, which started
failing since it was missing in the installer builds.

src/tools/msvc/Install.pm

index 7a7d990..bc8f12b 100644 (file)
@@ -431,6 +431,8 @@ sub CopyIncludeFiles
         $target . '/include/server/',
         'src/include/', 'pg_config.h', 'pg_config_os.h'
     );
+    CopyFiles('Grammar header', $target . '/include/server/parser/',
+             'src/backend/parser/', 'gram.h');
     CopySetOfFiles('',[ glob("src\\include\\*.h") ],$target . '/include/server/');
     my $D;
     opendir($D, 'src/include') || croak "Could not opendir on src/include!\n";