Skip to content

Commit

Permalink
Tweaked the Makefile to make it distro independent.
Browse files Browse the repository at this point in the history
--HG--
branch : make
  • Loading branch information
godfryd committed Jul 30, 2014
1 parent 17dbdaf commit f1d8b43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f1d8b43

Please sign in to comment.