Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
46573e65
Commit
46573e65
authored
Mar 06, 2007
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add script to build documentation on win32 without mingw
parent
02284e22
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
0 deletions
+63
-0
src/tools/msvc/Solution.pm
src/tools/msvc/Solution.pm
+7
-0
src/tools/msvc/builddoc.bat
src/tools/msvc/builddoc.bat
+56
-0
No files found.
src/tools/msvc/Solution.pm
View file @
46573e65
...
...
@@ -229,6 +229,13 @@ EOF
last
;
}
}
open
(
O
,
"
>doc/src/sgml/version.sgml
")
||
croak
"
Could not write to version.sgml
\n
";
print
O
<<EOF;
<!entity version "$self->{strver}">
<!entity majorversion "$self->{majorver}">
EOF
close
(
O
);
}
sub
AddProject
{
...
...
src/tools/msvc/builddoc.bat
0 → 100755
View file @
46573e65
@echo
off
REM Adjust path for your docbook installation
SET
ROOT
=
c
:\prog\pgsql\docbook
SETLOCAL
SET
STARTDIR
=
%CD%
SET
OPENJADE
=
openjade
-
1
.3.1
SET
DSSSL
=
docbook
-dsssl
-
1
.79
IF
EXIST
..\msvc
IF
EXIST
..\..\..\src
cd
..\..\..
IF
NOT
EXIST
doc
\src\sgml\version.sgml
goto
noversion
IF
NOT
EXIST
%ROOT%
\
%OPENJADE%
SET
NF
=
OpenJade
IF
NOT
EXIST
%ROOT%
\docbook
SET
NF
=
docbook
IF
NOT
EXIST
%ROOT%
\
%DSSSL%
set
NF
=
docbook
-dssl
IF
NOT
"
%NF%
"
==
""
GOTO
notfound
IF
"
%
1"
==
"renamefiles"
GOTO
renamefiles
cmd
/v /c
"
%
0"
renamefiles
cd
doc
\src\sgml
SET
SGML_CATALOG_FILES
=
%ROOT%
\
%OPENJADE%
\dsssl\catalog
;
%ROOT%
\docbook\docbook.cat
perl
%ROOT%
\
%DSSSL%
\bin\collateindex.pl
-f -g -o
bookindex
.sgml
-N
perl
mk_feature_tables
.pl
YES
..\..\..\src\backend\catalog\sql_feature_packages.txt ..\..\..\src\backend\catalog\sql_features.txt
>
features
-supported
.sgml
perl
mk_feature_tables
.pl
NO
..\..\..\src\backend\catalog\sql_feature_packages.txt ..\..\..\src\backend\catalog\sql_features.txt
>
features
-unsupported
.sgml
%ROOT%
\
%OPENJADE%
\bin\openjade
-V
draft
-mode -wall -wno-unused-param -wno-empty -D
.
-c
%ROOT%
\
%DSSSL%
\catalog
-d
stylesheet
.dsl
-i
output
-html -t
sgml
postgres
.sgml
perl
%ROOT%
\
%DSSSL%
\bin\collateindex.pl
-f -g -i
'bookindex'
-o
bookindex
.sgml
HTML
.index
%ROOT%
\
%OPENJADE%
\bin\openjade
-V
draft
-mode -wall -wno-unused-param -wno-empty -D
.
-c
%ROOT%
\
%DSSSL%
\catalog
-d
stylesheet
.dsl
-i
output
-html -t
sgml
postgres
.sgml
cd
%STARTDIR%
echo
Docs
build
complete
.
exit
/b
:renamefiles
REM Rename ISO entity files
CD
%ROOT%
\docbook
FOR
%%f
in
(
ISO
*)
do
(
set
foo
=
%%f
IF
NOT
"
!
foo:~-4
!
"
==
".gml"
ren
!foo!
!
foo
:
~
0
,
3
!
-
!
foo
:
~
3
!
.gml
)
exit
/b
:notfound
echo
Could
not
find
directory
for
%NF%
.
cd
%STARTDIR%
goto
:eof
:noversion
echo
Could
not
find
version
.sgml.
Please
run
mkvcbuild
.pl
first
!
cd
%STARTDIR%
goto
:eof
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment