/[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 521 - (hide annotations)
Tue Oct 19 15:05:02 2004 UTC (19 years, 5 months ago) by dpavlin
File size: 1896 byte(s)
create symlinks (until subversion 1.1 supports them)

1 dpavlin 482 dir=/data/webpac2/out
2    
3 dpavlin 493 all: clean all2all bfilter
4 dpavlin 480
5     all2all:
6 dpavlin 446 rm -f log
7 dpavlin 521 # ./all2all.pl
8     ./all2all.pl --limit_mfn=500 #--start_mfn=2200
9 dpavlin 389
10 dpavlin 480 bfilter:
11     # re-create bfilters
12 dpavlin 482 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 dpavlin 480
21 dpavlin 1 clean:
22 dpavlin 6 rm -f *.bak *.temp
23 dpavlin 405 rm -Rf out/index/*
24 dpavlin 413 find out/thes -name "*.html" -exec rm {} \;
25     rm -f out/bfilter/*.txt
26 dpavlin 3
27 dpavlin 405 test:
28     @find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10
29    
30 dpavlin 162 profile:
31 dpavlin 389 perl -d:DProf ./all2all.pl
32     #dprofpp
33 dpavlin 235
34 dpavlin 421 profile2:
35     perl -d:SmallProf ./all2all.pl
36     sort -k 2nr,2 smallprof.out | vi -R -
37    
38 dpavlin 429 html:
39     pods2html lib html
40    
41 dpavlin 521 symlinks:
42     cd eurovoc/js && ls ../../out/js/* | grep -v usage.js | xargs -i ln -sf {}
43     ln -sf ../../out/bfilter/bfilter.js eurovoc/js/bfilter.js
44     ln -sf ../../out/bfilter/hide.js eurovoc/js/hide.js
45     cd eurovoc && ls ../out/Descriptor* | xargs -i ln -sf {}
46     cd eurovoc/index && ls -d ../../out/index/* | xargs -i ln -sf {}
47    
48 dpavlin 235 ver=`date +%Y%m%d`
49    
50     dist:
51 dpavlin 317 svn log -v > ChangeLog
52 dpavlin 235 rm -Rf webpac-$(ver)
53     mkdir webpac-$(ver)
54 dpavlin 317 svn ls -R | cpio -pvd webpac-$(ver)/
55 dpavlin 235 tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/
56     rm -Rf webpac-$(ver)
57    
58 dpavlin 438 tags:
59     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