1 |
all: clean |
dir=/data/webpac2/out |
2 |
./all2all.pl |
|
3 |
cd out/bfilter && ./bfilter.pl < DescriptorHR.txt > DescriptorHR.js && cd - |
all: clean all2all bfilter |
4 |
|
|
5 |
|
all2all: |
6 |
|
rm -f log |
7 |
|
# ./all2all.pl |
8 |
|
./all2all.pl --limit_mfn=500 #--start_mfn=2200 |
9 |
|
|
10 |
|
bfilter: |
11 |
|
# re-create bfilters |
12 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorHR.txt > ${dir}/DescriptorHR.js 2>/dev/null && cd - |
13 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorHR.js |
14 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorEN.txt > ${dir}/DescriptorEN.js 2>/dev/null && cd - |
15 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorEN.js |
16 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorFR.txt > ${dir}/DescriptorFR.js 2>/dev/null && cd - |
17 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorFR.js |
18 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorGE.txt > ${dir}/DescriptorGE.js 2>/dev/null && cd - |
19 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> ${dir}/DescriptorGE.js |
20 |
|
|
21 |
clean: |
clean: |
22 |
rm -f *.bak *.temp |
rm -f *.bak *.temp |
31 |
perl -d:DProf ./all2all.pl |
perl -d:DProf ./all2all.pl |
32 |
#dprofpp |
#dprofpp |
33 |
|
|
34 |
|
profile2: |
35 |
|
perl -d:SmallProf ./all2all.pl |
36 |
|
sort -k 2nr,2 smallprof.out | vi -R - |
37 |
|
|
38 |
|
html: |
39 |
|
pods2html lib html |
40 |
|
|
41 |
|
|
42 |
ver=`date +%Y%m%d` |
ver=`date +%Y%m%d` |
43 |
|
|
44 |
dist: |
dist: |
49 |
tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/ |
tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/ |
50 |
rm -Rf webpac-$(ver) |
rm -Rf webpac-$(ver) |
51 |
|
|
52 |
|
tags: |
53 |
|
ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm] |