Check-in Number:
|
89 | |
Date: |
2000-Jul-05 15:29:11 (local)
2000-Jul-05 13:29:11 (UTC) |
User: | rse |
Branch: | |
Comment: |
*** empty log message *** |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shtool/ChangeLog 1.130 -> 1.131
--- ChangeLog 2000/07/01 12:20:52 1.130
+++ ChangeLog 2000/07/06 13:29:11 1.131
@@ -8,6 +8,11 @@
____________________________________________________________________
ChangeLog
+
+ Changes between 1.5.0 and 1.5.1 (01-Jul-2000 to 06-Jul-2000):
+
+ *) Add Python support to `shtool version'.
+ [Benjamin Saller <case@appliedtheory.com>]
Changes between 1.4.9 and 1.5.0 (16-Apr-2000 to 01-Jul-2000):
|
|
ossp-pkg/shtool/sh.version 1.24 -> 1.25
--- sh.version 2000/07/01 12:35:36 1.24
+++ sh.version 2000/07/06 13:29:11 1.25
@@ -279,6 +279,23 @@
echo >>$file "1;"
echo >>$file ""
;;
+ python )
+ echo >>$file "##"
+ echo >>$file "## ${file} -- Version Information for ${name} (syntax: Python)"
+ echo >>$file "## [automatically generated and maintained by GNU shtool]"
+ echo >>$file "##"
+ echo >>$file ""
+ echo >>$file "class ${prefix}version:"
+ echo >>$file " v_hex = ${vHex}"
+ echo >>$file " v_short = \"${vShort}\""
+ echo >>$file " v_long = \"${vLong}\""
+ echo >>$file " v_tex = \"${vTex}\""
+ echo >>$file " v_gnu = \"${vGNU}\""
+ echo >>$file " v_web = \"${vWeb}\""
+ echo >>$file " v_sccs = \"${vSCCS}\""
+ echo >>$file " v_rcs = \"${vRCS}\""
+ echo >>$file ""
+ ;;
* ) echo "$msgprefix:Error: invalid argument to option \`-l': \`$opt_l'" 1>&2
exit 1
;;
|
|
ossp-pkg/shtool/shtool.pod 1.46 -> 1.47
--- shtool.pod 2000/07/06 08:08:01 1.46
+++ shtool.pod 2000/07/06 13:29:11 1.47
@@ -270,7 +270,7 @@
=item B<version>
-Maintain a version information file in either Text, C/C++ or Perl
+Maintain a version information file in either Text, C/C++, Perl or Python.
format.
=item B<path>
@@ -704,13 +704,14 @@
=item B<version> [B<-l> I<lang>] [B<-n> I<name>] [B<-p> I<prefix>] [B<-s> I<version>] [B<-e>] [B<-i> I<knob>] [B<-d> I<type>] I<file>
-This command generates and maintains a version information file I<file> for
-program name I<name> in either textual (I<lang>="C<txt>"), ANSI C
-(I<lang>="c") or Perl (I<lang>="perl") language. The version is always
-described with a triple E<lt>I<version>,I<revision>,I<level>E<gt> and is
+This command generates and maintains a version information
+file I<file> for program name I<name> in either textual
+(I<lang>="C<txt>"), ANSI C (I<lang>="c"), Perl (I<lang>="perl") or
+Python (I<lang>="python") language. The version is always described
+with a triple E<lt>I<version>,I<revision>,I<level>E<gt> and is
represented by a string which always matches the regular expression
-``C<[0-9]+\.[0-9]+[sabp.][0-9]+>''. When the option ``B<-s>'' is given, the
-contents of I<file> is overridden with the specified I<version>.
+``C<[0-9]+\.[0-9]+[sabp.][0-9]+>''. When the option ``B<-s>'' is given,
+the contents of I<file> is overridden with the specified I<version>.
When option ``B<-i>'' is used, the current version in I<file> is updated
by increasing one element of the version where I<knob> can be one of
|
|