diff options
author | Michal Nowikowski <godfryd@gmail.com> | 2014-07-30 05:39:53 +0200 |
---|---|---|
committer | Michal Nowikowski <godfryd@gmail.com> | 2014-07-30 05:39:53 +0200 |
commit | 0612f7a0a69a6063d5ac146a779b31df0459fabd (patch) | |
tree | 8bf5945b450b8933e6b5dada07de749cefcab306 | |
parent | d788560b0cf09bfb5e8851be71d8c32572d7f152 (diff) | |
download | pylint-0612f7a0a69a6063d5ac146a779b31df0459fabd.tar.gz |
Tweaked the Makefile to make it distro independent.
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -13,7 +13,7 @@ help: @echo "Please use \`make <target>' where <target> is one of" @echo " tests to run whole test suit of PyLint" @echo " docs to generate all docs including man pages and exemplary pylintrc" - @echo " deb to build debian .deb package" + @echo " deb to build debian .deb package (it works only on Debian based Linux distros)" @echo " sdist to build source .tar.gz package" @echo " lint to check Pylint sources with itself" @echo " all to run all targets" @@ -51,19 +51,20 @@ lint: $(PIP) $(PIP) install . $(PYVE)/bin/pylint lint.py || true # for now ignore errors -clean: /usr/bin/debuild /usr/bin/dh_pysupport +clean: rm -rf $(PYVE) rm -rf .tox rm -rf dist rm -rf build make clean -C doc - debuild clean rm -rf $(PKG_DEB) ../pylint_*.changes ../pylint_*.build + debuild clean || true clobber: hg purge -p hg purge -a + /usr/bin/debuild: sudo apt-get -y --force-yes install devscripts |