Changeset 65 for trunk/makefile


Ignore:
Timestamp:
05/13/08 12:15:37 (16 years ago)
Author:
pinsard
Message:

some improvemnt but bibopa.sh and superbib01_txt.xsl are still not fully compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile

    r64 r65  
    9696test_raw \ 
    9797test_raw_demo1 \ 
    98 test_raw_nemo \ 
     98test_raw_nemo1 \ 
     99test_raw_nemoall \ 
    99100dbkcheck \ 
    100101all \ 
     
    126127        @echo "\$$ ln -sf $(DIRSRC)/data/biball.xml $(DIRTMP)/biblio.xml" 
    127128        @echo "" 
     129        @echo "for example for short NEMO Survey :" 
     130        @echo "\$$ ln -sf $(DIRSRC)/data/bibnemo1.xml $(DIRTMP)/biblio.xml" 
     131        @echo "" 
    128132        @echo "check for duplicate DOI; for example :" 
    129133        @echo "\$$ ./twindoi.sh -i $(DIRTMP)/biblio.xml -t xml" 
     
    135139        @echo "\$$ ln -sf $(DIRSRC)/data/usernemo.dtd $(DIRTMP)/user.dtd" 
    136140        @echo "" 
    137         @echo "for example for NEMO Survey :" 
     141        @echo "for example for NEMO Survey (short and long):" 
    138142        @echo "\$$ ln -sf $(DIRSRC)/data/usernemo.xml $(DIRTMP)/user.xml" 
    139143        @echo "\$$ ln -sf $(DIRSRC)/data/usernemo.dtd $(DIRTMP)/user.dtd" 
     
    175179        -@rm -f $(DIRTMP)/bibdemo1_dbk5.txt 
    176180        -@rm -f $(DIRTMP)/bibdemo1_dbk5.xml 
    177         -@rm -f $(DIRTMP)/bibnemo.xml 
    178         -@rm -f $(DIRTMP)/bibnemo.txt 
     181        -@rm -f $(DIRTMP)/bibnemo1.xml 
     182        -@rm -f $(DIRTMP)/bibnemo1.txt 
     183        -@rm -f $(DIRTMP)/bibnemoall.xml 
     184        -@rm -f $(DIRTMP)/bibnemoall.txt 
    179185        -@rm -f $(DIRTMP)/select_id.xml 
    180186        -@rm -f $(DIRTMP)/main_full.xml 
     
    543549test_raw : \ 
    544550test_raw_demo1 \ 
    545 test_raw_nemo 
     551test_raw_nemo1 \ 
     552test_raw_nemoall 
    546553 
    547554test_raw_demo1 : \ 
     
    549556$(DIRTMP)/bibdemo1_dbk5.xml \ 
    550557$(DIRTMP)/bibdemo1_dbk5.txt 
    551         diff $(DIRTMP)/bibdemo1_dbk5.xml $(DIRSRC)/data/bibdemo1_dbk5.xml | more 
     558        diff -b $(DIRTMP)/bibdemo1_dbk5.xml $(DIRSRC)/data/bibdemo1_dbk5.xml | more 
    552559        rm -i $(DIRTMP)/bibdemo1_dbk5.xml $(DIRTMP)/bibdemo1_dbk5.txt 
    553560 
     
    555562$(DIRSRC)/data/bibdemo1_dbk5.xml \ 
    556563$(DIRSRC)/superbib01_txt.xsl 
    557         @xsltproc --param makedate "'$(MAKEDATE)'" \ 
     564        xsltproc --param makedate "'$(MAKEDATE)'" \ 
    558565        --output $@ \ 
    559566        $(DIRSRC)/superbib01_txt.xsl \ 
     
    563570$(DIRTMP)/bibdemo1_dbk5.txt \ 
    564571$(DIRSRC)/bibopa.sh 
    565         @$(DIRSRC)/bibopa.sh -p demo1 -i $(DIRTMP)/bibdemo1_dbk5.txt -t raw -l fr 
    566  
    567 test_raw_nemo : \ 
     572        $(DIRSRC)/bibopa.sh -p demo1 -i $(DIRTMP)/bibdemo1_dbk5.txt -t raw -l fr 
     573 
     574test_raw_nemo1 : \ 
     575$(DIRSRC)/data/bibnemo1.xml \ 
     576$(DIRTMP)/bibnemo1.xml \ 
     577$(DIRTMP)/bibnemo1.txt 
     578        diff -b $(DIRTMP)/bibnemo1.xml $(DIRSRC)/data/bibnemo1.xml | more 
     579        rm -i $(DIRTMP)/bibnemo1.xml $(DIRTMP)/bibnemo1.txt 
     580 
     581$(DIRTMP)/bibnemo1.txt : \ 
     582$(DIRSRC)/data/bibnemo1.xml \ 
     583$(DIRSRC)/superbib01_txt.xsl 
     584        xsltproc --param makedate "'$(MAKEDATE)'" \ 
     585        --output $@ \ 
     586        $(DIRSRC)/superbib01_txt.xsl \ 
     587        $(DIRSRC)/data/bibnemo1.xml 
     588 
     589$(DIRTMP)/bibnemo1.xml : \ 
     590$(DIRTMP)/bibnemo1.txt \ 
     591$(DIRSRC)/bibopa.sh 
     592        $(DIRSRC)/bibopa.sh -p nemo -i $(DIRTMP)/bibnemo1.txt -t raw -l en 
     593 
     594test_raw_nemoall : \ 
    568595$(DIRSRC)/data/biball.xml \ 
    569 $(DIRTMP)/bibnemo.xml \ 
    570 $(DIRTMP)/bibnemo.txt 
    571         diff $(DIRTMP)/bibnemo.xml $(DIRSRC)/data/biball.xml | more 
    572         rm -i $(DIRTMP)/bibnemo.xml $(DIRTMP)/bibnemo.txt 
    573  
    574 $(DIRTMP)/bibnemo.txt : \ 
     596$(DIRTMP)/bibnemoall.xml \ 
     597$(DIRTMP)/bibnemoall.txt 
     598        diff -b $(DIRTMP)/bibnemoall.xml $(DIRSRC)/data/biball.xml | more 
     599        rm -i $(DIRTMP)/bibnemoall.xml $(DIRTMP)/bibnemoall.txt 
     600 
     601$(DIRTMP)/bibnemoall.txt : \ 
    575602$(DIRSRC)/data/biball.xml \ 
    576603$(DIRSRC)/superbib01_txt.xsl 
    577         @xsltproc --param makedate "'$(MAKEDATE)'" \ 
     604        xsltproc --param makedate "'$(MAKEDATE)'" \ 
    578605        --output $@ \ 
    579606        $(DIRSRC)/superbib01_txt.xsl \ 
    580607        $(DIRSRC)/data/biball.xml 
    581608 
    582 $(DIRTMP)/bibnemo.xml : \ 
    583 $(DIRTMP)/bibnemo.txt \ 
     609$(DIRTMP)/bibnemoall.xml : \ 
     610$(DIRTMP)/bibnemoall.txt \ 
    584611$(DIRSRC)/bibopa.sh 
    585         @$(DIRSRC)/bibopa.sh -p nemo -i $(DIRTMP)/bibnemo.txt -t raw -l en 
     612        $(DIRSRC)/bibopa.sh -p nemo -i $(DIRTMP)/bibnemoall.txt -t raw -l en 
Note: See TracChangeset for help on using the changeset viewer.