/[webpac]/trunk2/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 480 - (hide annotations)
Sun Sep 26 19:53:09 2004 UTC (15 years, 1 month ago) by dpavlin
File size: 1523 byte(s)
dynamically load different languages

1 dpavlin 480 all: clean all2all bfiler
2    
3     all2all:
4 dpavlin 446 rm -f log
5 dpavlin 456 ./all2all.pl
6 dpavlin 460 # ./all2all.pl --limit_mfn=500 #--start_mfn=8600
7 dpavlin 389
8 dpavlin 480 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 dpavlin 1 clean:
20 dpavlin 6 rm -f *.bak *.temp
21 dpavlin 405 rm -Rf out/index/*
22 dpavlin 413 find out/thes -name "*.html" -exec rm {} \;
23     rm -f out/bfilter/*.txt
24 dpavlin 3
25 dpavlin 405 test:
26     @find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10
27    
28 dpavlin 162 profile:
29 dpavlin 389 perl -d:DProf ./all2all.pl
30     #dprofpp
31 dpavlin 235
32 dpavlin 421 profile2:
33     perl -d:SmallProf ./all2all.pl
34     sort -k 2nr,2 smallprof.out | vi -R -
35    
36 dpavlin 429 html:
37     pods2html lib html
38    
39    
40 dpavlin 235 ver=`date +%Y%m%d`
41    
42     dist:
43 dpavlin 317 svn log -v > ChangeLog
44 dpavlin 235 rm -Rf webpac-$(ver)
45     mkdir webpac-$(ver)
46 dpavlin 317 svn ls -R | cpio -pvd webpac-$(ver)/
47 dpavlin 235 tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/
48     rm -Rf webpac-$(ver)
49    
50 dpavlin 438 tags:
51     ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]

Properties

Name Value
cvs2svn:cvs-rev 1.6

  ViewVC Help
Powered by ViewVC 1.1.26