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 | f1d8b435f7e3e0babac8b203b455c3a39d57737b (patch) | |
tree | bcf8cacd71ab238a65077cba93f57bc2cc234344 /Makefile | |
parent | 17dbdaf048fad098080e4909bf87c6b5627979bf (diff) | |
download | pylint-git-f1d8b435f7e3e0babac8b203b455c3a39d57737b.tar.gz |
Tweaked the Makefile to make it distro independent.
--HG--
branch : make
Diffstat (limited to 'Makefile')
-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 |