--- trunk/Makefile 2004/03/07 23:15:24 235 +++ trunk2/Makefile 2004/10/10 11:25:10 501 @@ -1,17 +1,53 @@ +dir=/data/webpac2/out + +all: clean all2all bfilter + +all2all: + rm -f log +# ./all2all.pl + ./all2all.pl --limit_mfn=500 #--start_mfn=2200 + +bfilter: + # re-create bfilters + cd out/bfilter && ./bfilter.pl 2 < DescriptorHR.txt > ${dir}/DescriptorHR.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorHR.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorEN.txt > ${dir}/DescriptorEN.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorEN.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorFR.txt > ${dir}/DescriptorFR.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorFR.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorGE.txt > ${dir}/DescriptorGE.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorGE.js + clean: rm -f *.bak *.temp + rm -Rf out/index/* + find out/thes -name "*.html" -exec rm {} \; + rm -f out/bfilter/*.txt + +test: + @find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10 profile: - perl -d:DProf './all2xml.pl' > foo - dprofpp + perl -d:DProf ./all2all.pl + #dprofpp + +profile2: + perl -d:SmallProf ./all2all.pl + sort -k 2nr,2 smallprof.out | vi -R - + +html: + pods2html lib html + ver=`date +%Y%m%d` dist: - rcs2log -h rot13.org > ChangeLog + svn log -v > ChangeLog rm -Rf webpac-$(ver) mkdir webpac-$(ver) - cvs-files.pl | cpio -pvd webpac-$(ver)/ + svn ls -R | cpio -pvd webpac-$(ver)/ tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/ rm -Rf webpac-$(ver) +tags: + ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]