Revision 9081,
381 bytes
checked in by ghudson, 28 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r9080,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | # Create version.o from version.txt |
---|
3 | #set -x |
---|
4 | |
---|
5 | set -e |
---|
6 | |
---|
7 | . ./version.txt |
---|
8 | builddate=`date` |
---|
9 | sccsdate=`date +%y/%m/%d` |
---|
10 | user=${LOGNAME-$USER} |
---|
11 | |
---|
12 | trap 'rm -f version.c' 0 1 2 15 |
---|
13 | |
---|
14 | cat <<EOF >version.c |
---|
15 | char *build = "x3270 v$version $builddate $user"; |
---|
16 | char *app_defaults_version = "$adversion"; |
---|
17 | static char sccsid[] = "@(#)x3270 v$version $sccsdate $user"; |
---|
18 | EOF |
---|
19 | |
---|
20 | ${1-cc} -c version.c |
---|
Note: See
TracBrowser
for help on using the repository browser.