mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-17 21:01:00 +00:00
updated for new file locations
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1584 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c266c7e5fd
commit
29fd9cb4b7
3 changed files with 22 additions and 22 deletions
4
debian/linkchecker.docs
vendored
4
debian/linkchecker.docs
vendored
|
|
@ -1,4 +1,4 @@
|
|||
README
|
||||
debian/README.Debian
|
||||
TODO
|
||||
FAQ
|
||||
doc/faq.txt
|
||||
doc/documentation.txt
|
||||
|
|
|
|||
27
debian/rules
vendored
27
debian/rules
vendored
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
PACKAGE=linkchecker
|
||||
ROOT=$(CURDIR)/debian/$(PACKAGE)
|
||||
PACKAGE = linkchecker
|
||||
ROOT = $(CURDIR)/debian/$(PACKAGE)
|
||||
DOCDIR = $(ROOT)/usr/share/doc/$(PACKAGE)
|
||||
PYTHON=python
|
||||
CGIDIR=$(ROOT)/usr/lib/cgi-bin/lconline
|
||||
HTMLDIR=$(ROOT)/var/www/lconline
|
||||
PYTHON = python
|
||||
CGIDIR = $(ROOT)/usr/lib/cgi-bin/lconline
|
||||
HTMLDIR = $(ROOT)/var/www/lconline
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
|
@ -19,7 +19,6 @@ configure-stamp:
|
|||
dh_testdir
|
||||
touch configure-stamp
|
||||
|
||||
|
||||
build: configure-stamp build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
|
@ -40,20 +39,20 @@ install: build
|
|||
# remove example files, we install them below
|
||||
rm -r $(ROOT)/usr/share/linkchecker/examples
|
||||
# install CGI files
|
||||
install -c -m 644 lconline/*.html $(HTMLDIR)
|
||||
install -c -m 644 lconline/*.de $(HTMLDIR)
|
||||
install -c -m 644 lconline/*.en $(HTMLDIR)
|
||||
install -c -m 644 lconline/check.js $(HTMLDIR)
|
||||
cat lc.cgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.cgi
|
||||
cat lc.fcgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.fcgi
|
||||
cat lc.sz_fcgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.sz_fcgi
|
||||
install -c -m 644 cgi/lconline/*.html $(HTMLDIR)
|
||||
install -c -m 644 cgi/lconline/*.de $(HTMLDIR)
|
||||
install -c -m 644 cgi/lconline/*.en $(HTMLDIR)
|
||||
install -c -m 644 cgi/lconline/check.js $(HTMLDIR)
|
||||
cat cgi/lc.cgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.cgi
|
||||
cat cgi/lc.fcgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.fcgi
|
||||
cat cgi/lc.sz_fcgi | sed 's#/usr/bin/python#/usr/bin/$(PYTHON)#' > $(CGIDIR)/lc.sz_fcgi
|
||||
chmod 755 $(CGIDIR)/lc.cgi
|
||||
chmod 755 $(CGIDIR)/lc.fcgi
|
||||
chmod 755 $(CGIDIR)/lc.sz_fcgi
|
||||
# install system wide configuration file in etc
|
||||
install -m644 $(ROOT)/usr/share/linkchecker/linkcheckerrc $(ROOT)/etc
|
||||
# install bash_completion script
|
||||
install -m644 linkchecker-completion $(ROOT)/etc/bash_completion.d
|
||||
install -m644 config/linkchecker-completion $(ROOT)/etc/bash_completion.d
|
||||
# install lintian overrides
|
||||
install -m644 debian/linkchecker.lintian $(ROOT)/usr/share/lintian/overrides/linkchecker
|
||||
|
||||
|
|
|
|||
13
setup.py
13
setup.py
|
|
@ -219,13 +219,14 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
['share/locale/fr/LC_MESSAGES/linkcheck.mo']),
|
||||
('share/locale/nl/LC_MESSAGES',
|
||||
['share/locale/nl/LC_MESSAGES/linkcheck.mo']),
|
||||
('share/linkchecker', ['linkcheckerrc']),
|
||||
('share/linkchecker', ['config/linkcheckerrc']),
|
||||
('share/linkchecker/examples',
|
||||
['lconline/leer.html.en', 'lconline/leer.html.de',
|
||||
'lconline/index.html', 'lconline/lc_cgi.html.en',
|
||||
'lconline/lc_cgi.html.de', 'lconline/check.js',
|
||||
'lc.cgi', 'lc.fcgi', 'lc.sz_fcgi', 'linkchecker.bat',
|
||||
'linkchecker-completion', 'linkcheck-cron.sh']),
|
||||
['cgi/lconline/leer.html.en', 'cgi/lconline/leer.html.de',
|
||||
'cgi/lconline/index.html', 'cgi/lconline/lc_cgi.html.en',
|
||||
'cgi/lconline/lc_cgi.html.de', 'cgi/lconline/check.js',
|
||||
'cgi/lc.cgi', 'cgi/lc.fcgi', 'cgi/lc.sz_fcgi',
|
||||
'linkchecker.bat',
|
||||
'config/linkchecker-completion', 'config/linkcheck-cron.sh']),
|
||||
('share/man/man1', ['linkchecker.1']),
|
||||
],
|
||||
classifiers = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue