X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=blobdiff_plain;f=apps%2Fautodist%2Fdoc%2Fautodist.texi;h=577db0ae8bfcd06b45fc9c5e2711f150bf372d1c;hp=393eb6a2b542dcf697878ca663af71ed2a9853a9;hb=c231fb5a3b62c5f1c34f64b08d152459973552d3;hpb=c594e6a2e0c1072b7f09e60d2a6b1f91eac17827 diff --git a/apps/autodist/doc/autodist.texi b/apps/autodist/doc/autodist.texi index 393eb6a..577db0a 100644 --- a/apps/autodist/doc/autodist.texi +++ b/apps/autodist/doc/autodist.texi @@ -1066,7 +1066,9 @@ 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. +format, even if the file is source file. This is because the distdefs +are processed during source tree preparation, and the source file will +have all distdefs removed when it is compiled. @menu * Distdefines:: Using distdefs in files @@ -1256,8 +1258,18 @@ The following suffixes will be considered as source files by the Autodist: .hh @end example +Also, any file that has '.in' suffix with any of the above source file +suffixes, the format inside the file must follow the source code format. Using distdefs in any other file must follow the non-source format. +Example: +@example + .c.in + .h.in +@end example + +In this example, in both of the files the source code format is used. + @node Invoking Autodist @chapter Invoking Autodist