makefile: autoset SVN_VER

This commit is contained in:
Enrico Scholz 2011-04-02 14:58:32 +02:00
parent ee71a3be73
commit a2a5a0d39a

View File

@ -3,6 +3,8 @@ MAKEFILE_COMMON = $(HOME)/.fedora/common.mk
all: all:
SVN_VER ?= ${VERSION}
svn-sources: svn-sources:
cd $(DESTDIR) . && svn export https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced@${SVN_REV} xmlrpc-c-${SVN_VER} cd $(DESTDIR) . && svn export https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced@${SVN_REV} xmlrpc-c-${SVN_VER}
cd $(DESTDIR) . && tar cJf xmlrpc-c-${SVN_VER}.tar.xz xmlrpc-c-${SVN_VER} --owner root --group root --mode=go-w,a+rX cd $(DESTDIR) . && tar cJf xmlrpc-c-${SVN_VER}.tar.xz xmlrpc-c-${SVN_VER} --owner root --group root --mode=go-w,a+rX