From abd1cc229938af058c7f1d3103ba25f6614cb956 Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 16 Dec 2000 13:09:24 +0000 Subject: [PATCH] debian fixes git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@211 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- debian/changelog | 9 +++++++++ debian/docs | 4 ---- debian/postinst | 3 +-- debian/rules | 17 +++++++++++------ setup.py | 11 +++++------ 5 files changed, 26 insertions(+), 18 deletions(-) diff --git a/debian/changelog b/debian/changelog index 442bdbc7..3a597baf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +linkchecker (1.2.11) unstable; urgency=low + + * debian/rules: + - use dh_installexamples to install example files + - move test files into a common directory + - move linkcheckerrc in /etc, make no symlink + + -- Die Kampfwurst Sat, 16 Dec 2000 12:42:00 +0100 + linkchecker (1.2.10) unstable; urgency=low * broken *.mo i18n files fixed diff --git a/debian/docs b/debian/docs index 7aae2471..5aa437ba 100644 --- a/debian/docs +++ b/debian/docs @@ -2,8 +2,4 @@ INSTALL README TODO FAQ -lc.cgi -lc.fcgi -lc.sz_fcgi -create.sql draft-gilman-news-url-00.txt diff --git a/debian/postinst b/debian/postinst index 25ec00ca..150ec6bc 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,8 +1,7 @@ -#! /bin/sh +#!/bin/sh # # Written 1998 by Gregor Hoffleit . # used by Bastian Kleineidam for LinkChecker - set -e DIRLIST="/usr/lib/python1.5/site-packages/linkcheck" diff --git a/debian/rules b/debian/rules index 315c621d..bf15933a 100755 --- a/debian/rules +++ b/debian/rules @@ -41,12 +41,17 @@ install: build python setup.py install --root=`pwd`/debian/$(PACKAGE) --no-compile # remove man pages, we install them with dh_installmanpages rm -rf debian/$(PACKAGE)/usr/man + # remove example files, we install them with dh_installexamples + rm -rf debian/$(PACKAGE)/usr/share/linkchecker # install additional doc files + install -d -m 755 $(DOCDIR)/examples install -c -m 644 DNS/README $(DOCDIR)/README_DNS.txt - install -d -m 755 $(DOCDIR)/test - install -c -m 644 test/*.html test/*.py $(DOCDIR)/test - install -d -m 755 $(DOCDIR)/tests - install -c -m 644 tests/*.py $(DOCDIR)/tests + install -d -m 755 $(DOCDIR)/tests/linkcheck + install -c -m 644 test/*.html test/*.py $(DOCDIR)/tests/linkcheck + install -d -m 755 $(DOCDIR)/tests/dns + install -c -m 644 tests/*.py $(DOCDIR)/tests/dns + # install system wide configuration file in etc + install -c -m 644 linkcheckerrc debian/$(PACKAGE)/etc # Build architecture-independent files here. @@ -60,7 +65,7 @@ binary-arch: build install dh_testroot # dh_installdebconf dh_installdocs -# dh_installexamples + dh_installexamples lc.* lconline/*.html # dh_installmenu # dh_installemacsen # dh_installpam @@ -70,7 +75,7 @@ binary-arch: build install # dh_installinfo # dh_undocumented linkchecker.1 dh_installchangelogs - dh_link +# dh_link dh_strip dh_compress dh_fixperms diff --git a/setup.py b/setup.py index d6886b3e..bbcf6b68 100755 --- a/setup.py +++ b/setup.py @@ -215,7 +215,7 @@ myname = "Bastian Kleineidam" myemail = "calvin@users.sourceforge.net" setup (name = "LinkChecker", - version = "1.2.10", + version = "1.2.11", description = "check HTML documents for broken links", author = myname, author_email = myemail, @@ -250,11 +250,10 @@ o a (Fast)CGI web interface (requires HTTP server) ['locale/de/LC_MESSAGES/linkcheck.mo']), ('share/locale/fr/LC_MESSAGES', ['locale/fr/LC_MESSAGES/linkcheck.mo']), - ('share/linkchecker',['linkchecker.bat', - 'linkcheckerrc',]), - ('share/linkchecker', - ['lc.cgi','lc.fcgi','lc.sz_fcgi']), - ('share/linkchecker/lconline', + ('share/linkchecker/examples', + ['lc.cgi','lc.fcgi','lc.sz_fcgi','linkchecker.bat', + 'linkcheckerrc']), + ('share/linkchecker/examples/lconline', ['lconline/leer.html','lconline/index.html', 'lconline/lc_cgi.html']), ('man/man1', ['linkchecker.1']),