Browse Source

Insert SNF4CGP version into default.html.

Renamed default.html to default.html.in, and modified the build
process to create default.html from default.html.in (only inserts the
SNF4CGP version).


git-svn-id: https://svn.microneil.com/svn/PKG-SNF4CGP-NIX/trunk@32 7ef522f6-be79-40a8-b7df-0a85b3383509
master
adeniz 15 years ago
parent
commit
b6c7efcada

+ 17
- 8
SNF4CGP_Developer_Package/DEVELOPER_NOTES View File

@@ -130,13 +130,20 @@ On some OSes, running this results in warning messages:
These can be safely ignored.

Issue the following commands for creating a CommuniGate Pro module
tarball (please see the Doc/default.html file for how to install the
module):
tarball (please see the Doc/default.html created during the build
process from Doc/default.html.in) file for how to install the module):

1) './configure'

2) 'make'

This command compiles and builds the software, including the
configuration files and documentation. The input documentation and
configuration files have a suffix of "in". For example, the
default.html file is created from default.html.in. Make any changes
to default.html.in, since the new default.html file is created by
the build system would overwrite any existing default.html file.

You can pass flags to the compiler with the following command:

make OTHER_CXXFLAGS=flags
@@ -222,17 +229,19 @@ The commands after the line beginning with "module:" create the module
tarball. Modify those commands to alter the content of the module
tarball.

The Doc/default.html file might need to be updated to reflect any
The Doc/default.html.in file might need to be updated to reflect any
changes.

Generation of sample configuration files and scripts
----------------------------------------------------

The build system generates sample configuration files and scripts that
take into account where the SNF4CGP distribution is installed. These
sample configuration files are part of the module tarball, and are
installed. The Doc/default.html file contains user instructions for
creating the configuration files from the sample configuration files.
The build system generates sample configuration files, scripts and
documentationthat take into account where the SNF4CGP distribution is
installed, as well as the SNF4CGP version. These sample configuration
and documentation files are part of the module tarball, and are
installed. The Doc/default.html file, created from
Doc/default.html.in, contains user instructions for creating the
configuration files from the sample configuration files.

Debugging
---------

SNF4CGP_Developer_Package/Doc/default.html → SNF4CGP_Developer_Package/Doc/default.html.in View File

@@ -167,7 +167,7 @@ CommuniGate Pro Server platform.</p>
</dl>

<p>Downloads by ftp are not available</p>
<p>The current version of the Plugin is 0.1.0.</p>
<p>The current version of the Plugin is VERSION.</p>
<p>The current version of the ARM Research Labs Sniffer Engine is 3.0.11.</p>

<h3><hr/><a name=Upgrading></a>Upgrading to a newer version.</h3>

+ 3
- 7
SNF4CGP_Developer_Package/Makefile.am View File

@@ -17,7 +17,8 @@ SUBDIRS = \
SNF2Check \
SNFClient \
Scripts \
config_files
config_files \
Doc

doc_DATA = \
BUGS \
@@ -30,12 +31,7 @@ doc_DATA = \
EXTRA_DIST = \
$(doc_DATA) \
Makefile.am \
configure.ac \
Doc/AdminStyle.css \
Doc/GuideStyle.css \
Doc/DownLoad.gif \
Doc/DisabledDownLoad.gif \
Doc/default.html
configure.ac

TEMP_DIR=CGPSNF-TEMP
MOD_DIR=CGPSNF

+ 1
- 0
SNF4CGP_Developer_Package/configure.ac View File

@@ -79,6 +79,7 @@ AC_OUTPUT([Makefile
SNF2Check/Makefile
SNFClient/Makefile
Scripts/Makefile
Doc/Makefile
config_files/Makefile])

echo "

Loading…
Cancel
Save