/[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 405 by dpavlin, Sun Sep 5 17:53:35 2004 UTC revision 480 by dpavlin, Sun Sep 26 19:53:09 2004 UTC
# Line 1  Line 1 
1  all:  all: clean all2all bfiler
2    
3    all2all:
4            rm -f log
5          ./all2all.pl          ./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/*          rm -Rf out/index/*
22            find out/thes -name "*.html" -exec rm {} \;
23            rm -f out/bfilter/*.txt
24    
25  test:  test:
26          @find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10          @find out/index/ -name "*.xml" | xargs xmllint --noout 2>&1 | head -10
# Line 12  profile: Line 29  profile:
29          perl -d:DProf ./all2all.pl          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`  ver=`date +%Y%m%d`
41    
42  dist:  dist:
# Line 22  dist: Line 47  dist:
47          tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/          tar cfvz ../webpac-$(ver).tar.gz webpac-$(ver)/
48          rm -Rf webpac-$(ver)          rm -Rf webpac-$(ver)
49    
50    tags:
51            ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]

Legend:
Removed from v.405  
changed lines
  Added in v.480

  ViewVC Help
Powered by ViewVC 1.1.26