From: Craig A. Berry Date: Sun, 11 Jan 2009 15:55:02 +0000 (-0600) Subject: Remove make_patchnum.com (now using make_patchnum.pl) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c24e7b67b597eaa15fbaca34ebb57a7cc242d937;p=p5sagit%2Fp5-mst-13.2.git Remove make_patchnum.com (now using make_patchnum.pl) --- diff --git a/make_patchnum.com b/make_patchnum.com deleted file mode 100644 index 3c0e1ef..0000000 --- a/make_patchnum.com +++ /dev/null @@ -1,48 +0,0 @@ -$! MAKE_PATCHNUM.COM -$! -$ open/read pf .patch -$ read pf line_in -$ close pf -$ line_in = f$edit(line_in, "TRIM,COMPRESS") -$ branch = f$element(0, " ", line_in) -$ snapshot_created = f$element(1, " ", line_in) -$ commit_id = f$element(2, " ", line_in) -$ describe = f$element(3, " ", line_in) -$! -$ changed="" -$ extra_info="git_snapshot_date='" + snapshot_created + "'" -$ commit_title="Snapshot of:" -$! -$ write sys$output "Updating .patchnum and lib/Config_git.pl" -$! -$ create .patchnum -$ open/append pn .patchnum -$ write pn "describe: ''describe'" -$ close pn -$! -$ create unpushed.h -$ open/append unp unpushed.h -$ write unp "/**********************************************************************" -$ write unp "* WARNING: unpushed.h is automatically generated by make_patchnum.com *" -$ write unp "* DO NOT EDIT DIRECTLY - edit make_patchnum.com instead *" -$ write unp "**********************************************************************/" -$ write unp "#define PERL_GIT_UNPUSHED_COMMITS /*no-op*/" -$ write unp "/*leave-this-comment*/" -$ close unp -$! -$ create [.lib]Config_git.pl -$ open/append cfg [.lib]Config_git.pl -$ write cfg "##################################################################" -$ write cfg "# WARNING: lib/Config_git.pl is generated by make_patchnum.com #" -$ write cfg "# DO NOT EDIT DIRECTLY - edit make_patchnum.com instead #" -$ write cfg "##################################################################" -$ write cfg "$Config::Git_Data=<<'ENDOFGIT';" -$ write cfg "git_commit_id='" + commit_id + "'" -$ write cfg "git_describe='" + describe + "'" -$ write cfg "git_branch='" + branch + "'" -$ write cfg "git_uncommitted_changes='" + changed + "'" -$ write cfg "git_commit_id_title='" + commit_title + "'" -$ write cfg "''extra_info'" -$ write cfg "ENDOFGIT" -$ close cfg -$ exit