diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:03:32 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:03:32 +0000 |
commit | 50ae18c846f8abcf73d328fe950612b1ce0cbb46 (patch) | |
tree | eb6cfb96ac39e454b35faca53a2f217237e670cc /Makefile | |
parent | 9da2d019914247baefa622bed4221429efce1a41 (diff) | |
download | ATCD-50ae18c846f8abcf73d328fe950612b1ce0cbb46.tar.gz |
Fixed Version.h generation to work properly when $$beta is undefined.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -128,6 +128,7 @@ ifeq ($(shell pwd),/project/adaptive/ACE_wrappers) echo $$ACE_VERSION | perl -ne ' \ ($$version = $$_) =~ s/ACE version ([\d\.]+).*\n/$$1/; \ ($$major, $$minor, $$beta) = split /\./, $$version; \ + $$beta = 0 if ! defined $$beta; \ print "// \$$Id\$$\n" . \ "// This is an automatically generated file.\n\n" . \ "\#define ACE_MAJOR_VERSION ($${major}u)\n" . \ |