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

Diff of /trunk2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 469 by dpavlin, Fri Sep 24 18:04:48 2004 UTC revision 521 by dpavlin, Tue Oct 19 15:05:02 2004 UTC
# Line 1  Line 1 
1  all: clean  dir=/data/webpac2/out
2    
3    all: clean all2all bfilter
4    
5    all2all:
6          rm -f log          rm -f log
7          ./all2all.pl  #       ./all2all.pl
8  #       ./all2all.pl --limit_mfn=500 #--start_mfn=8600          ./all2all.pl --limit_mfn=500 #--start_mfn=2200
9          cd out/bfilter && ./bfilter.pl 2 < DescriptorHR.txt > DescriptorHR.js && cd -  
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
# Line 23  profile2: Line 37  profile2:
37    
38  html:  html:
39          pods2html lib html          pods2html lib html
40            
41    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  ver=`date +%Y%m%d`  ver=`date +%Y%m%d`
49    

Legend:
Removed from v.469  
changed lines
  Added in v.521

  ViewVC Help
Powered by ViewVC 1.1.26