diff options
author | Frank Warmerdam <warmerdam@pobox.com> | 2001-11-23 16:15:35 +0000 |
---|---|---|
committer | Frank Warmerdam <warmerdam@pobox.com> | 2001-11-23 16:15:35 +0000 |
commit | 94c413e2eaff36e23054afa53132051efb14b8ca (patch) | |
tree | 3d1d2c64c40e6b98ccda7528ecb90e26d15b7125 | |
parent | ded7e36f2e86d7670ce6d0508951531407398374 (diff) | |
download | libtiff-git-94c413e2eaff36e23054afa53132051efb14b8ca.tar.gz |
handle case of @RELEASE@ being empty in release.tar.zip target
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index b95ccb20..f82b05fc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,5 @@ #! smake -# $Header: /cvs/maptools/cvsroot/libtiff/Makefile.in,v 1.24 2001-11-23 16:02:14 warmerda Exp $ +# $Header: /cvs/maptools/cvsroot/libtiff/Makefile.in,v 1.25 2001-11-23 16:15:35 warmerda Exp $ # # @WARNING@ # @@ -515,7 +515,11 @@ releasediff: # create release or beta distribution archive release.tar.zip: - VERSIONREL="@VERSION@-@RELEASE@"; \ + if test "@RELEASE@" = "" ; then \ + VERSIONREL="@VERSION@"; \ + else \ + VERSIONREL="@VERSION@-@RELEASE@"; \ + fi; \ rm -f ../tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar; \ ln -s ${SRCDIR} tiff-$$VERSIONREL; \ (for i in ${DISTFILES}; do \ |