summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f4b46d6f..dbc44047 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,12 @@
# (c) 2006 - OpenSLX.com
tarball:
- @. VERSIONS; \
+ @OPENSLX_SVN_SNAPSHOT=$$( echo $${OPENSLX_SVN_SNAPSHOT} | \
+ tr [:upper:] [:lower:]); \
+ case "$${OPENSLX_SVN_SNAPSHOT}" in \
+ yes|y|1) OPENSLX_VERSION_SVNREV=$$( svnversion) ;; \
+ esac; \
+ . VERSIONS; \
echo "Creating OpenSLX $${OPENSLX_VERSION_STRING} tar ball "; \
if test -e "../openslx-$${OPENSLX_VERSION_STRING}" -a \
! -L "../openslx-$${OPENSLX_VERSION_STRING}"; then \