1 |
|
all: clean all2all bfiler |
2 |
|
|
3 |
|
all2all: |
4 |
|
rm -f log |
5 |
|
./all2all.pl |
6 |
|
# ./all2all.pl --limit_mfn=500 #--start_mfn=8600 |
7 |
|
|
8 |
|
bfilter: |
9 |
|
# re-create bfilters |
10 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorHR.txt > ../DescriptorHR.js 2>/dev/null && cd - |
11 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorHR.js |
12 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorEN.txt > ../DescriptorEN.js 2>/dev/null && cd - |
13 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorEN.js |
14 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorFR.txt > ../DescriptorFR.js 2>/dev/null && cd - |
15 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorFR.js |
16 |
|
cd out/bfilter && ./bfilter.pl 2 < DescriptorGE.txt > ../DescriptorGE.js 2>/dev/null && cd - |
17 |
|
echo "if (self.document.myfilter) self.document.myfilter.arr=headlines;" >> out/DescriptorGE.js |
18 |
|
|
19 |
clean: |
clean: |
20 |
rm -f *.bak *.temp |
rm -f *.bak *.temp |
21 |
|
rm -Rf out/index/* |
22 |
|
find out/thes -name "*.html" -exec rm {} \; |
23 |
|
rm -f out/bfilter/*.txt |
24 |
|
|
25 |
|
test: |
26 |
|
@find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10 |
27 |
|
|
28 |
profile: |
profile: |
29 |
perl -d:DProf './all2xml.pl' > foo |
perl -d:DProf ./all2all.pl |
30 |
dprofpp |
#dprofpp |
31 |
|
|
32 |
|
profile2: |
33 |
|
perl -d:SmallProf ./all2all.pl |
34 |
|
sort -k 2nr,2 smallprof.out | vi -R - |
35 |
|
|
36 |
|
html: |
37 |
|
pods2html lib html |
38 |
|
|
39 |
|
|
40 |
|
ver=`date +%Y%m%d` |
41 |
|
|
42 |
|
dist: |
43 |
|
svn log -v > ChangeLog |
44 |
|
rm -Rf webpac-$(ver) |
45 |
|
mkdir webpac-$(ver) |
46 |
|
svn ls -R | cpio -pvd webpac-$(ver)/ |
47 |
|
tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/ |
48 |
|
rm -Rf webpac-$(ver) |
49 |
|
|
50 |
|
tags: |
51 |
|
ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm] |