--- sh.version 2004/02/12 16:06:27 1.36
+++ sh.version 2004/07/19 07:41:34 1.37
@@ -260,6 +260,22 @@
echo >>$file "#endif /* _${filestr}_AS_HEADER_ */"
echo >>$file ""
;;
+ m4 )
+ echo >>$file "##"
+ echo >>$file "## ${file} -- Version Information for ${name} (syntax: M4)"
+ echo >>$file "## [automatically generated and maintained by GNU shtool]"
+ echo >>$file "##"
+ echo >>$file ""
+ echo >>$file "m4_define([v_hex], [${vHex}])"
+ echo >>$file "m4_define([v_short], [${vShort}])"
+ echo >>$file "m4_define([v_long], [${vLong}])"
+ echo >>$file "m4_define([v_tex], [${vTeX}])"
+ echo >>$file "m4_define([v_gnu], [${vGNU}])"
+ echo >>$file "m4_define([v_web], [${vWeb}])"
+ echo >>$file "m4_define([v_sccs], [${vSCCS}])"
+ echo >>$file "m4_define([v_rcs], [${vRCS}])"
+ echo >>$file ""
+ ;;
perl )
echo >>$file "##"
echo >>$file "## ${file} -- Version Information for ${name} (syntax: Perl)"
@@ -355,8 +371,8 @@
=item B<-l>, B<--language> I<lang>
Choose format of version file I<file>. I<lang>="C<txt>", ANSI C
-(I<lang>="c"), Perl (I<lang>="perl") or Python (I<lang>="python").
-Default is C<txt>.
+(I<lang>="c"), M4 (I<lang>="m4"), Perl (I<lang>="perl") or Python
+(I<lang>="python"). Default is C<txt>.
=item B<-n>, B<--name> I<name>
|