--- trunk2/Makefile 2004/09/05 17:53:35 405 +++ trunk2/Makefile 2004/09/26 19:53:09 480 @@ -1,9 +1,26 @@ -all: +all: clean all2all bfiler + +all2all: + rm -f log ./all2all.pl +# ./all2all.pl --limit_mfn=500 #--start_mfn=8600 + +bfilter: + # re-create bfilters + cd out/bfilter && ./bfilter.pl 2 < DescriptorHR.txt > ../DescriptorHR.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorHR.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorEN.txt > ../DescriptorEN.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorEN.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorFR.txt > ../DescriptorFR.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorFR.js + cd out/bfilter && ./bfilter.pl 2 < DescriptorGE.txt > ../DescriptorGE.js 2>/dev/null && cd - + echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/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 @@ -12,6 +29,14 @@ 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: @@ -22,3 +47,5 @@ tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/ rm -Rf webpac-$(ver) +tags: + ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]