/[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

Contents of /trunk2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 480 - (show 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 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:
20 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:
29 perl -d:DProf ./all2all.pl
30 #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]

Properties

Name Value
cvs2svn:cvs-rev 1.6

  ViewVC Help
Powered by ViewVC 1.1.26