|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.23 1999/12/04 04:53:14 momjian Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.24 2000/01/18 06:10:54 momjian Exp $ |
3 | 3 | Documentation Guide
|
4 | 4 | Thomas Lockhart
|
5 | 5 |
|
@@ -995,6 +995,36 @@ PSTYLE= /home/tgl/SGML/db107.d/docbook/print
|
995 | 995 | % make install
|
996 | 996 | </programlisting>
|
997 | 997 | </para>
|
| 998 | + <sect2> |
| 999 | + <title>FreeBSD specific howto</title> |
| 1000 | + <para> |
| 1001 | + To build the documentation on FreeBSD a number of ports will need to |
| 1002 | + be installed. |
| 1003 | + <programlisting> |
| 1004 | +% cd /usr/ports/devel/gmake && make install |
| 1005 | +% cd /usr/ports/textproc/docproj && make install |
| 1006 | +% cd /usr/ports/textproc/docbook && make install |
| 1007 | +% cd /usr/ports/textproc/dsssl-docbook-modular && make install |
| 1008 | + </programlisting> |
| 1009 | + Some enviornment variables need to be set (assumes you are running a sh |
| 1010 | + based shell): |
| 1011 | + <programlisting> |
| 1012 | +export SMGL_ROOT=/usr/local/share/sgml |
| 1013 | +SGML_CATALOG_FILES=/usr/local/share/sgml/jade/catalog |
| 1014 | +SGML_CATALOG_FILES=/usr/local/share/sgml/html/catalog:$SGML_CATALOG_FILES |
| 1015 | +SGML_CATALOG_FILES=/usr/local/share/sgml/iso8879/catalog:$SGML_CATALOG_FILES |
| 1016 | +SGML_CATALOG_FILES=/usr/local/share/sgml/transpec/catalog:$SGML_CATALOG_FILES |
| 1017 | +SGML_CATALOG_FILES=/usr/local/share/sgml/docbook/catalog:$SGML_CATALOG_FILES |
| 1018 | +export SGML_CATALOG_FILES </programlisting> |
| 1019 | + Make needs some special arguments, or these need to be added to your |
| 1020 | +Makefile.custom: |
| 1021 | + <programlisting> |
| 1022 | +HSTYLE=/usr/local/share/sgml/docbook/dsssl/modular/html/ |
| 1023 | +PSTYLE=/usr/local/share/sgml/docbook/dsssl/modular/print/ |
| 1024 | + </programlisting> |
| 1025 | + Of course you'll need to use gmake rather than just plain 'make' to build. |
| 1026 | + </para> |
| 1027 | + </sect2> |
998 | 1028 | </sect1>
|
999 | 1029 |
|
1000 | 1030 | <sect1>
|
|