dh_python usage

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2047 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-11-24 14:53:23 +00:00
parent 8060fd934b
commit af1a399a7d
2 changed files with 8 additions and 5 deletions

4
debian/control vendored
View file

@ -7,9 +7,9 @@ Standards-Version: 3.6.1
Package: linkchecker
Architecture: any
Depends: python (>= 2.3), python (<< 2.4)
Depends: ${python:Depends}
Conflicts: linkchecker-ssl
Suggests: httpd
Suggests: apache | httpd
Description: check HTML documents for broken links
Features:
o recursive checking

9
debian/rules vendored
View file

@ -6,6 +6,8 @@ DOCDIR = $(ROOT)/usr/share/doc/$(PACKAGE)
PYTHON = python
CGIDIR = $(ROOT)/usr/lib/cgi-bin/lconline
HTMLDIR = $(ROOT)/var/www/lconline
SHARE = $(ROOT)/usr/share/linkchecker
ETC = $(ROOT)/etc
include /usr/share/cdbs/1/rules/debhelper.mk
@ -22,10 +24,11 @@ binary-post-install/linkchecker::
install -m 755 cgi/lc.cgi $(CGIDIR)
install -m 755 cgi/lc.fcgi $(CGIDIR)
# install system wide configuration files in etc
install -m 644 $(ROOT)/usr/share/linkchecker/linkcheckerrc $(ROOT)/etc/linkchecker
install -m 644 $(ROOT)/usr/share/linkchecker/logging.conf $(ROOT)/etc/linkchecker
install -m 644 $(SHARE)/linkcheckerrc $(ETC)/linkchecker/
install -m 644 $(SHARE)/logging.conf $(ETC)/linkchecker/
# install bash_completion script
install -m 644 config/linkchecker-completion $(ROOT)/etc/bash_completion.d
install -m 644 config/linkchecker-completion $(ETC)/bash_completion.d
# install lintian overrides
install -m 644 debian/linkchecker.lintian $(ROOT)/usr/share/lintian/overrides/linkchecker
dh_python