Support for file type in -p to process all kinds of files from
[autodist.git] / apps / autodist / doc / autodist.texi
index e7542e367a87783bd8bf10d5937b6d96441a6e82..2d2cd57358ab6ce9234682930676d36f8a5a9fc3 100644 (file)
@@ -791,11 +791,11 @@ This will exclude the file 'README' and anything that match 'doc/client*'.
 
 The 'noprocess' directive can be used to tell Autodist specificly not to 
 process files or directories.  The Autodist will not process the files 
 
 The 'noprocess' directive can be used to tell Autodist specificly not to 
 process files or directories.  The Autodist will not process the files 
-during preparation or during distribution packaging.  This directive is 
-optional.  One or more files can be specified in the 'noprocess' 
-directive.  Zero or more 'noprocess' directives can be used in 
-distribution.  The <filename> can be a single file, a single directory or 
-a regular expression that will match several files and/or directories.
+during distribution packaging.  This directive is optional.  One or more 
+files can be specified in the 'noprocess' directive.  Zero or more 
+'noprocess' directives can be used in distribution.  The <filename> can be 
+a single file, a single directory or a regular expression that will match 
+several files and/or directories.
 
 Example:
 @example
 
 Example:
 @example
@@ -806,7 +806,7 @@ noprocess apps/foo/
 Autodist will not process 'autodist.texi' file, and any files and 
 directories under 'apps/foo/'.
 
 Autodist will not process 'autodist.texi' file, and any files and 
 directories under 'apps/foo/'.
 
-Also note that, 'noprocess' directive cannot be used to disallow 
+Note that, 'noprocess' directive cannot be used to disallow 
 processing of any file with '.ad' suffix.
 
 
 processing of any file with '.ad' suffix.
 
 
@@ -1020,7 +1020,23 @@ macro 'AC_OUTPUT'.  This macro has no arguments.
 Note that, the 'configure.ad' fragments are not real full featured
 configure scripts.  They must not use 'AD_INIT', 'AD_INCLUDE_CONFIGURE',
 'AC_INIT' or any other initialization macros.
 Note that, the 'configure.ad' fragments are not real full featured
 configure scripts.  They must not use 'AD_INIT', 'AD_INCLUDE_CONFIGURE',
 'AC_INIT' or any other initialization macros.
+@end defmac
+
+
+@defmac AD_DISABLE_DEPENDENCIES
 
 
+This macro is used to disable Autodist dependencies in 'Makefile.ad' 
+files.  If this macro is used, then after editing 'Makefile.ad' file the 
+Autodist must be run manually.  When dependencies are enabled editing 
+Autodist is run automatically when source is compiled with 'make'. 
+Dependencies make the development easier.  This macro has no arguments.
+
+Note that, the dependencies are enabled only in the prepared source tree.  
+Depedencies are not delivered to distribution, as they would require the 
+presence of 'Makefile.ad' files, which are not delivered to distribution. 
+
+Current Autodist version does not support dependencies in 'configure.ad' 
+files, only in 'Makefile.ad' files.
 @end defmac
 
 @menu
 @end defmac
 
 @menu
@@ -1312,6 +1328,12 @@ Initializes Autodist environment.  Creates the default distribution
 directory 'distdir', 'autodist.conf' configuration file and the
 default distribution 'default', then exits.
 
 directory 'distdir', 'autodist.conf' configuration file and the
 default distribution 'default', then exits.
 
+@item -p
+@itemx --process <type> <src> <dst>
+Process file <src> into <dst> for distribution, <type> is 'makefile',
+'configure', 'non-source' or 'source' and defines the type of <src>,
+then exits.
+
 @item -m
 @itemx --makedist
 Creates and packages distribution
 @item -m
 @itemx --makedist
 Creates and packages distribution