updates.
[autodist.git] / apps / autodist / doc / autodist.texi
index dc1190b3411af6af39284d86b771acf75ebd1d02..2533d06114e198b1bde915c9242ed2210e28c331 100644 (file)
@@ -1023,6 +1023,9 @@ preparation.  They will be processed when creating the distribution package.
 If you need processed files during configuration or compilation then they
 need to have '.ad' suffix.
 
 If you need processed files during configuration or compilation then they
 need to have '.ad' suffix.
 
+Note that, the distdef format used in these files must be the non-source
+format.
+
 @menu
 * Distdefines::                 Using distdefs in files
 @end menu
 @menu
 * Distdefines::                 Using distdefs in files
 @end menu
@@ -1090,13 +1093,14 @@ a compiler friendly format, defined below, should be used.
 #endif /* SILC_DIST_DEFINE */
 @end example
 
 #endif /* SILC_DIST_DEFINE */
 @end example
 
-Note that, only the format defined above is supported.  Other more complex
-use of the preprocessor directives such as using '&&' and '||' in the '#ifdef'
-or '#ifndef' are not supported, and neither is '#elif'.  Also note, that in
-the compiler friendly format the name of the distdef in comments and the
-use of '!' character in the '#else' branch of '#ifdef' are mandatory.  Also
-note, that the distdef conditionals must be placed at the start of the line,
-they must not be indented.
+Note that, only the format defined above is supported.  Other more complex 
+use of the preprocessor directives such as using '&&' and '||' in the 
+'#ifdef' or '#ifndef' are not supported, and neither is '#elif'.  Also 
+note, that the name of the distdef in '#else' and '#ifdef' directives in 
+non-source format and in source format inside C comments (/* */), and the 
+use of '!' character in the '#else' branch of '#ifdef'" are mandatory.  
+Also note, that the distdef conditionals must be placed at the start of 
+the line, they must not be indented.
 
 The following example shows the use of non-source format:
 
 
 The following example shows the use of non-source format:
 
@@ -1538,6 +1542,7 @@ undef _DIST_CRYPTO
 
 @example
 # Common template
 
 @example
 # Common template
+option template
 define _DIST_DOC
 define _DIST_LIB
 define _DIST_MATH
 define _DIST_DOC
 define _DIST_LIB
 define _DIST_MATH