mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 19:14:43 +00:00
dont install test suite in examples and fix cgi install
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@577 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
6a84115517
commit
8cf661f566
2 changed files with 7 additions and 7 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
|
@ -1,8 +1,10 @@
|
|||
linkchecker (1.6.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Dont install the test suite files as examples
|
||||
* Put all cgi related files together in /usr/lib/cgi-bin/lconline
|
||||
|
||||
-- Bastian Kleineidam <calvin@debian.org> Sat, 19 Oct 2002 13:46:59 +0200
|
||||
-- Bastian Kleineidam <calvin@debian.org> Thu, 31 Oct 2002 14:55:14 +0100
|
||||
|
||||
linkchecker (1.6.4-1) unstable; urgency=low
|
||||
|
||||
|
|
|
|||
10
debian/rules
vendored
10
debian/rules
vendored
|
|
@ -5,6 +5,7 @@ PACKAGE=linkchecker
|
|||
ROOT=$(CURDIR)/debian/$(PACKAGE)
|
||||
DOCDIR = $(ROOT)/usr/share/doc/$(PACKAGE)
|
||||
PYTHON=python2.2
|
||||
CGIDIR=$(ROOT)/usr/lib/cgi-bin/lconline
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
|
@ -42,13 +43,10 @@ install: build
|
|||
$(PYTHON) setup.py install --root=$(ROOT) --no-compile
|
||||
# remove example files, we install them below
|
||||
rm -r $(ROOT)/usr/share/linkchecker/examples
|
||||
# install additional doc files
|
||||
install -c -m 644 test/*.py $(DOCDIR)/test
|
||||
install -c -m 644 test/html/*.html $(DOCDIR)/test/html
|
||||
install -c -m 644 test/output/test_* $(DOCDIR)/test/output
|
||||
# install CGI files
|
||||
install -c -m 644 lconline/*.html $(DOCDIR)/lconline
|
||||
cat lc.cgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(ROOT)/usr/lib/cgi-bin/lconline/lc.cgi
|
||||
install -c -m 644 lconline/*.html $(CGIDIR)
|
||||
cat lc.cgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.cgi
|
||||
chmod 755 $(CGIDIR)/lc.cgi
|
||||
# install system wide configuration file in etc
|
||||
mv $(ROOT)/usr/share/linkchecker/linkcheckerrc $(ROOT)/etc
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue