updates.
[silc.git] / README.DIST
index e5264ef8fdfa5e0994b1c84b95012778bafb6f5b..cfd1d98f92404ab9f5ceb4b916c0972860b6125e 100644 (file)
@@ -6,24 +6,16 @@ tree and how to package distributions for releasing.  This also defines
 the procedure what one should do when distribution is created for
 releasing.
 
-
-The 'distributions' file
-========================
-
-The 'distributions' file descibres all distributions that can be created 
-from the SILC CVS source tree.  You should read that file if you want to 
-learn how to create new distributions.  The file already defines the main 
-distributions that can be created from the soure tree.  These are the 
-'client', 'server' and 'toolkit' distributions.
+The distdir/ directory contains all distributions that can be created
+from the source tree.  The distdir/default cannot be packaged, it must
+be used only for development.
 
 
 Preparing distribution
 ======================
 
-The SILC CVS source tree must be prepared before it can be configured, 
-compiled and packaged.  The ./prepare script is used to prepare 
-distribution for configuration, compilation and packaging.  To prepare a 
-specific distribution with specific version, give command:
+To prepare a specific distribution with specific version for packaging,
+give command:
 
        autodist <name> <version>
 
@@ -37,6 +29,14 @@ major.minor.build, for example 0.9.10.  Example:
 This prepares 'client' distribution of version 0.9.15.  The package will 
 have the version 0.9.15 automatically.
 
+NOTE: Those distribution that have RPM spec files you should specify the 
+RPM release version to autodist also by doing the following:
+
+       autodist toolkit 1.1.2 0.fc7
+
+where the "0.fc7" will become the RPM release version.  If you omit the 
+release version the default currently is "0.fc7".
+
 
 Configuring and compiling the distribution
 ==========================================
@@ -79,16 +79,11 @@ directories.  Make sure they are not compiled and does not include any
 extra files.  If you haven't compiled them after the CVS checkout, they do
 not include any extra files.
 
-NOTE for 'toolkit' distribution:  Before giving make dist the following
-must be done:
-
-       go to util/robodoc/
-       give ./configure;make to compile robodoc
-       go to doc/
-       give make toolkit-ref-html
+NOTE for 'toolkit' distribution:  Running ./configure for toolkit 
+distribution is not necessary.  Toolkit is packaged simply by giving 
+command:
 
-This then creates the Toolkit reference manual.  After this the toolkit 
-distribution can be packaged.
+       makedist
 
 
 Before releasing the distribution