mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-21 14:44:44 +00:00
Remove alexa log files on distclean.
This commit is contained in:
parent
32357c9683
commit
498567eb21
2 changed files with 2 additions and 3 deletions
1
Makefile
1
Makefile
|
|
@ -53,6 +53,7 @@ distclean: clean cleandeb
|
|||
rm -f _$(APPNAME)_configdata.py MANIFEST Packages.gz
|
||||
# clean aborted dist builds and -out files
|
||||
rm -f linkchecker-out* linkchecker.prof
|
||||
rm -f alexa*.log
|
||||
rm -rf $(APPNAME)-$(VERSION)
|
||||
rm -rf coverage dist-stamp python-build-stamp*
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
# The error file should be checked for
|
||||
# - internal errors
|
||||
# - program errors (ie. segmentation fault)
|
||||
# Generally, the error should be empty, so anything in there has
|
||||
# to be inspected.
|
||||
#
|
||||
# Note that the result can depend on the current location.
|
||||
# Some sites have geo-location-aware content.
|
||||
|
|
@ -17,7 +15,7 @@ logfile=alexa_1m.log
|
|||
errfile=alexa_1m_err.log
|
||||
rm -f $logfile $errfile
|
||||
for url in $(cat $HOME/src/alexatopsites/top-1m.txt); do
|
||||
echo "Checking $url" | tee -a $logfile
|
||||
echo "Checking $url" | tee -a $logfile | tee -a $errfile
|
||||
./linkchecker -r1 --no-status $url >> $logfile 2>>$errfile
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue