2000-03-20 20:19:34 +00:00
|
|
|
VERSION=$(shell ./setup.py -V)
|
2000-03-27 13:34:31 +00:00
|
|
|
#HOST=treasure.calvinsplayground.de
|
2000-03-21 11:38:22 +00:00
|
|
|
PROXY=
|
|
|
|
|
#PROXY=-P$(HOST):5050
|
2000-03-27 13:34:31 +00:00
|
|
|
HOST=fsinfo.cs.uni-sb.de
|
2000-03-20 20:19:34 +00:00
|
|
|
#PROXY=-Pwww-proxy.uni-sb.de:3128
|
2000-02-26 10:24:46 +00:00
|
|
|
PACKAGE = linkchecker
|
|
|
|
|
DEBPACKAGE = $(PACKAGE)_$(VERSION)_i386.deb
|
2000-03-19 14:24:33 +00:00
|
|
|
ALLPACKAGES = ../$(DEBPACKAGE)
|
|
|
|
|
DESTDIR=/.
|
|
|
|
|
.PHONY: test clean files homepage dist install all
|
2000-02-26 10:24:46 +00:00
|
|
|
TAR = tar
|
|
|
|
|
ZIP = zip
|
|
|
|
|
|
2000-03-19 14:24:33 +00:00
|
|
|
all:
|
2000-02-26 10:24:46 +00:00
|
|
|
|
|
|
|
|
clean:
|
2000-03-19 14:24:33 +00:00
|
|
|
./setup.py clean --all
|
|
|
|
|
rm -rf $(ALLPACKAGES) $(PACKAGE)-out.*
|
2000-02-26 10:24:46 +00:00
|
|
|
|
2000-03-19 14:24:33 +00:00
|
|
|
install:
|
2000-03-30 00:22:24 +00:00
|
|
|
./setup.py install --prefix=/tmp/usr --exec-prefix=/tmp/usr
|
|
|
|
|
cp -a /tmp/usr/* $(DESTDIR)/usr
|
2000-03-22 01:11:41 +00:00
|
|
|
install -c -m 644 linkcheckerrc $(DESTDIR)/etc
|
|
|
|
|
install -c -m 644 DNS/README $(DESTDIR)/usr/share/doc/$(PACKAGE)/README.dns
|
2000-02-26 10:24:46 +00:00
|
|
|
|
2000-03-19 14:24:33 +00:00
|
|
|
dist:
|
|
|
|
|
./setup.py sdist
|
2000-02-26 10:24:46 +00:00
|
|
|
fakeroot debian/rules binary
|
2000-03-06 19:00:29 +00:00
|
|
|
|
2000-03-19 14:24:33 +00:00
|
|
|
files:
|
2000-03-28 14:43:50 +00:00
|
|
|
./$(PACKAGE) -Ftext -Fhtml -Fgml -Fsql -R -t0 -v $(PROXY) -i$(HOST) http://$(HOST)/~calvin/
|
2000-03-19 14:24:33 +00:00
|
|
|
|
|
|
|
|
homepage: files
|
2000-03-06 19:00:29 +00:00
|
|
|
scp *-out.* shell1.sourceforge.net:/home/groups/linkchecker/htdocs/
|
|
|
|
|
scp ChangeLog shell1.sourceforge.net:/home/groups/linkchecker/htdocs/changes.txt
|
2000-02-26 10:24:46 +00:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
rm -f test/*.result
|
|
|
|
|
@for i in test/*.html; do \
|
|
|
|
|
echo "Testing $$i. Results are in $$i.result"; \
|
2000-03-03 16:20:57 +00:00
|
|
|
./$(PACKAGE) -t0 -v -a $$i > $$i.result 2>&1; \
|
2000-02-26 10:24:46 +00:00
|
|
|
done
|