Remove alexa log files on distclean.

This commit is contained in:
Bastian Kleineidam 2012-09-21 16:04:46 +02:00
parent 32357c9683
commit 498567eb21
2 changed files with 2 additions and 3 deletions

View file

@ -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*

View file

@ -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