Index: Makefile =================================================================== --- Makefile (revision 949) +++ Makefile (working copy) @@ -57,7 +57,16 @@ #packaging tool for .deb packages too. tarball: - @OPENSLX_VERSION_SVNREV=$$( svnversion); \ + @if test "$${OPENSLX_SVN_SNAPSHOT}"; then \ + OPENSLX_SVN_SNAPSHOT=$$( echo $${OPENSLX_SVN_SNAPSHOT} | \ + tr [:upper:] [:lower:]); \ + case "$${OPENSLX_SVN_SNAPSHOT}" in \ + no|n|0) unset OPENSLX_SVN_SNAPSHOT ;; + esac; \ + else \ + OPENSLX_SVN_SNAPSHOT="yes"; \ + fi; \ + OPENSLX_VERSION_SVNREV=$$( svnversion); \ . ./VERSIONS; \ echo "OPENSLX_VERSION_SVNREV=\"$${OPENSLX_VERSION_SVNREV}\"" \ >REVISION; \