mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 13:14:46 +00:00
use pyver var
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2040 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
503e482583
commit
ad1788e467
1 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
# This Makefile is only used by developers.
|
||||
PYTHON := python2.3
|
||||
PYVER := 2.3
|
||||
PYTHON := python$(PYVER)
|
||||
PACKAGE := linkchecker
|
||||
NAME = $(shell $(PYTHON) setup.py --name)
|
||||
PACKAGEDIR = /home/groups/l/li/$(PACKAGE)
|
||||
|
|
@ -49,11 +50,11 @@ config:
|
|||
locale:
|
||||
$(MAKE) -C po
|
||||
|
||||
# to build in the current directory (assumes python 2.3)
|
||||
# to build in the current directory
|
||||
localbuild:
|
||||
$(MAKE) -C linkcheck/HtmlParser
|
||||
$(PYTHON) setup.py build
|
||||
cp -f build/lib.linux-i686-2.3/linkcheck/HtmlParser/htmlsax.so linkcheck/HtmlParser
|
||||
cp -f build/lib.linux-i686-$(PYVER)/linkcheck/HtmlParser/htmlsax.so linkcheck/HtmlParser
|
||||
|
||||
# produce the .deb Debian package
|
||||
deb_local: cleandeb
|
||||
|
|
@ -105,7 +106,7 @@ tar: distclean
|
|||
cd .. && tar cjvf linkchecker.tar.bz2 linkchecker
|
||||
|
||||
pycheck:
|
||||
-env PYTHONPATH=. PYTHONVER=2.3 pychecker $(PYCHECKEROPTS) $(PYFILES)
|
||||
-env PYTHONPATH=. PYTHONVER=$(PYVER) pychecker $(PYCHECKEROPTS) $(PYFILES)
|
||||
|
||||
pylint:
|
||||
$(PYLINT) $(PYLINTOPTS) $(PYLINTFILES) $(TESTFILES)
|
||||
|
|
|
|||
Loading…
Reference in a new issue