Makefile: Normalize sources dir

上级 6a49c058
...@@ -14,7 +14,7 @@ all: ...@@ -14,7 +14,7 @@ all:
@echo "make clean - Get rid of scratch and byte files" @echo "make clean - Get rid of scratch and byte files"
source: source:
$(PYTHON) setup.py sdist $(COMPILE) $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=SOURCES --prune
install: install:
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE) $(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
...@@ -40,8 +40,6 @@ build-deb-all: prepare-source ...@@ -40,8 +40,6 @@ build-deb-all: prepare-source
build-rpm-all: source build-rpm-all: source
rpmbuild --define '_topdir %{getenv:PWD}' \ rpmbuild --define '_topdir %{getenv:PWD}' \
--define '_sourcedir %{_topdir}/dist/' \
--define "avocadoversion $(VERSION)" \
-ba avocado.spec -ba avocado.spec
clean: clean:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册