diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /vms/stamp-date.com | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'vms/stamp-date.com')
-rwxr-xr-x | vms/stamp-date.com | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vms/stamp-date.com b/vms/stamp-date.com new file mode 100755 index 00000000..349f6626 --- /dev/null +++ b/vms/stamp-date.com @@ -0,0 +1,25 @@ +$!# Copyright (C) 1993 by Oliver Trepte. +$!# +$!# Permission to use, copy, modify, and distribute this software and its +$!# documentation for any purpose and without fee is hereby granted, provided +$!# that the above copyright notice appear in all copies and that both that +$!# copyright notice and this permission notice appear in supporting +$!# documentation. This software is provided "as is" without express or +$!# implied warranty. +$!# +$!# This shell script creates a file called "compile_time.h" which holds +$!# a define stating the compilation time. This is used for the -version +$!# flag. +$!# +$!# modified to a VMS command procedure by Rick Dyson 29-NOV-1993 + +$ OUTFILE := "compile.h" +$ DATE := "''F$Time ()'" +$ USER := "''F$GetJPI (F$GetJPI ("", "PID"), "USERNAME")'" +$ Open /Write OUTFILE compile.h +$ Write OUTFILE "/* compile_time.h This file tells the package when it was compiled */" +$ Write OUTFILE "/* DO NOT EDIT - THIS FILE IS MAINTAINED AUTOMATICALLY */" +$ Write OUTFILE "#define COMPILE_TIME ""''DATE'""" +$ Write OUTFILE "#define COMPILED_BY ""''USER'""" +$ Close OUTFILE +$ Exit |