parent
3b089d0771
commit
d242ae1745
4
Makefile
4
Makefile
|
@ -32,6 +32,10 @@ real-all: $(ALL_TARGETS)
|
||||||
|
|
||||||
install: $(INSTALL_TARGETS)
|
install: $(INSTALL_TARGETS)
|
||||||
|
|
||||||
|
store_git_version:
|
||||||
|
echo -n ${I3_VERSION} > I3_VERSION
|
||||||
|
echo -n ${VERSION} > VERSION
|
||||||
|
|
||||||
dist: distclean
|
dist: distclean
|
||||||
[ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION}
|
[ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION}
|
||||||
[ ! -e i3-${VERSION}.tar.bz2 ] || rm i3-${VERSION}.tar.bz2
|
[ ! -e i3-${VERSION}.tar.bz2 ] || rm i3-${VERSION}.tar.bz2
|
||||||
|
|
|
@ -5,6 +5,7 @@ set -x
|
||||||
|
|
||||||
DEST=$1
|
DEST=$1
|
||||||
|
|
||||||
|
make store_git_version
|
||||||
make dist
|
make dist
|
||||||
# unpack dist tarball
|
# unpack dist tarball
|
||||||
mkdir -p "${DEST}"
|
mkdir -p "${DEST}"
|
||||||
|
|
Loading…
Reference in New Issue