Skip to content

Commit

Permalink
Merge pull request avocado-framework#574 from clebergnu/git_archive
Browse files Browse the repository at this point in the history
Makefile: replace source tarball generation from distutils to git
  • Loading branch information
lmr committed Apr 23, 2015
2 parents 206f6fe + 32f1d0f commit a549a5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ all:
@echo "make clean - Get rid of scratch and byte files"

source:
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=SOURCES --prune
if test ! -d SOURCES; then mkdir SOURCES; fi
git archive --prefix="avocado-$(VERSION)/" -o "SOURCES/avocado-$(VERSION).tar.gz" HEAD

install:
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
Expand Down

0 comments on commit a549a5b

Please sign in to comment.