Remove make_patchnum.com (now using make_patchnum.pl)
authorCraig A. Berry <craigberry@mac.com>
Sun, 11 Jan 2009 15:55:02 +0000 (09:55 -0600)
committerDavid Mitchell <davem@iabyn.com>
Sat, 11 Apr 2009 18:10:38 +0000 (19:10 +0100)
(cherry picked from commit c24e7b67b597eaa15fbaca34ebb57a7cc242d937)

make_patchnum.com [deleted file]

diff --git a/make_patchnum.com b/make_patchnum.com
deleted file mode 100644 (file)
index 3c0e1ef..0000000
+++ /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