handle case of @RELEASE@ being empty in release.tar.zip target
This commit is contained in:
parent
ded7e36f2e
commit
94c413e2ea
@ -1,5 +1,5 @@
|
|||||||
#! smake
|
#! 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@
|
# @WARNING@
|
||||||
#
|
#
|
||||||
@ -515,7 +515,11 @@ releasediff:
|
|||||||
|
|
||||||
# create release or beta distribution archive
|
# create release or beta distribution archive
|
||||||
release.tar.zip:
|
release.tar.zip:
|
||||||
|
if test "@RELEASE@" = "" ; then \
|
||||||
|
VERSIONREL="@VERSION@"; \
|
||||||
|
else \
|
||||||
VERSIONREL="@VERSION@-@RELEASE@"; \
|
VERSIONREL="@VERSION@-@RELEASE@"; \
|
||||||
|
fi; \
|
||||||
rm -f ../tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar; \
|
rm -f ../tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar; \
|
||||||
ln -s ${SRCDIR} tiff-$$VERSIONREL; \
|
ln -s ${SRCDIR} tiff-$$VERSIONREL; \
|
||||||
(for i in ${DISTFILES}; do \
|
(for i in ${DISTFILES}; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user