/[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 500 by dpavlin, Sun Oct 10 11:04:52 2004 UTC revision 708 by dpavlin, Wed Jul 13 23:38:04 2005 UTC
# Line 1  Line 1 
1  dir=/data/webpac2/out  dir=/data/webpac2/out
2    
3  all: clean all2all bfilter  all: clean all2all bfilter fixpic
4    
5  all2all:  all2all:
6          rm -f log          rm -f log
7            rm -Rf out/casket/
8  #       ./all2all.pl  #       ./all2all.pl
9    #       ./all2all.pl --limit_mfn=500 #--start_mfn=2200
10          ./all2all.pl --limit_mfn=100 #--start_mfn=2200          ./all2all.pl --limit_mfn=100 #--start_mfn=2200
11    
12  bfilter:  bfilter:
# Line 23  clean: Line 25  clean:
25          rm -Rf out/index/*          rm -Rf out/index/*
26          find out/thes -name "*.html" -exec rm {} \;          find out/thes -name "*.html" -exec rm {} \;
27          rm -f out/bfilter/*.txt          rm -f out/bfilter/*.txt
28            rm -f out/browse.html eurovoc/hijerarhija.html
29            rm -f out/nodes/* eurovoc/nodes/*
30    
31  test:  test:
32          @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 37  profile2: Line 41  profile2:
41    
42  html:  html:
43          pods2html lib html          pods2html lib html
44            
45    symlinks:
46            cd eurovoc/js && ls ../../out/js/* | grep -v usage.js | xargs -i ln -sf {}
47            ln -sf ../../out/bfilter/bfilter.js eurovoc/js/bfilter.js
48            ln -sf ../out/thes eurovoc/thes
49            cd eurovoc && ls ../out/Descriptor* | xargs -i ln -sf {}
50            cd eurovoc/index && ls -d ../../out/index/* | xargs -i ln -sf {}
51            #ln -sf ../../out/js_locale/locale.js eurovoc/js/locale.js
52    
53  ver=`date +%Y%m%d`  ver=`date +%Y%m%d`
54    
# Line 51  dist: Line 62  dist:
62    
63  tags:  tags:
64          ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]          ctags *.p[lm] */*.p[lm] */*/*.p[lm] */*/*/*.p[lm]
65    
66    zip:
67            zip -9r eurovoc.zip eurovoc/ -x '*.svn*'
68    
69    iso:
70            mkisofs -o eurovoc.iso -f -J -r -V Eurovoc -v -m '*.svn*' eurovoc/
71    
72    fixpic:
73            perl -p -i -n -e 's#src="img/crovoc.png#src="../img/crovoc.png#g' eurovoc/nodes/*.html

Legend:
Removed from v.500  
changed lines
  Added in v.708

  ViewVC Help
Powered by ViewVC 1.1.26