Different way to figure out the repository name.

My directory was called 'master' so I got 'master-1.6.tar.gz'.
This commit is contained in:
Robin Sommer 2011-10-25 17:35:49 -07:00
parent 4cdff8ffd8
commit a0ff75ecd6

View file

@ -6,8 +6,9 @@
#
BUILD=build
VERSION_FULL=`basename \`pwd\``-`cat VERSION`
VERSION_MIN=`basename \`pwd\``-`cat VERSION`-minimal
REPO=`basename \`git config --get remote.origin.url\``
VERSION_FULL=$(REPO)-`cat VERSION`
VERSION_MIN=$(REPO)-`cat VERSION`-minimal
HAVE_MODULES=git submodule | grep -v cmake >/dev/null
all: configured