Changeset 23 for trunk/makefile


Ignore:
Timestamp:
09/28/07 12:27:10 (17 years ago)
Author:
pinsard
Message:

improvement of before and after tasks parametrization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile

    r21 r23  
    99# ++ les dépendences ne marchent pas bien 
    1010# ++ la génération de pdf ne marchent pas bien sans doute à cause des images top 
     11# fplod 2007-09-28T08:56:17Z aedon.locean-ipsl.upmc.fr (Darwin) 
     12# add before and install targets 
    1113# fplod 2007-06-06T10:23:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1214# change hard coded DIRBASE 
     
    4042/tmp/bibopa/ 
    4143 
     44# here are some examples of DIRPUBLISH, the first on for Seb on his Mac, 
     45# the second one for me (Françoise) on mine 
     46# the third for me (Françoise) on my home page http://www.locean-ipsl.upmc.fr/~fplod/superbibdemo/ 
     47# 
     48# the real one for NEMO is opatlod@cerbere.locean-ispl.upmc.fr:NEMO/general/biblio_new/ 
     49# 
     50# comment all of them and define your own 
     51# 
     52#DIRPUBLISH = \ 
     53#smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/ 
     54 
     55#DIRPUBLISH = \ 
     56#fplod@aedon.locean-ipsl.upmc.fr:Sites/superbibdemo/ 
     57 
     58DIRPUBLISH = \ 
     59fplod@cerbere.locean-ipsl.upmc.fr:./WWW/superbibdemo/ 
     60 
    4261MAKEDATE = \ 
    4362`date -u +"%Y-%m-%dT%H:%M:%SZ"` 
     
    7493 
    7594help : 
     95        @echo "Define in the makefile localisations of :" 
     96        @echo " - sources (DIRSRC) where you \"svn checkout\" superbib" 
     97        @echo " - temporary Web pages (DIRWWW), where you can check links before publication" 
     98        @echo "- published Web pages (DIRPUBLISH)" 
     99        @echo "" 
    76100        @echo "Prepare output directories :" 
    77         @echo "$ ./avant.sh" 
     101        @echo "$ make before" 
     102        @echo "" 
    78103        @echo "identify bibliography databank; for example :" 
    79104        @echo "$ ln -sf data/biball.xml bibrefnemo.xml" 
    80105        @echo "check for duplicate DOI; for example :" 
    81106        @echo "$ ./twindoi.sh -i bibrefnemo.xml -t xml" 
     107        @echo "" 
    82108        @echo "identify usernemo databank; for example :" 
    83109        @echo "$ ln -sf data/usernemo.xml usernemo.xml" 
    84110        @echo "$ ln -sf data/usernemo.dtd usernemo.dtd" 
     111        @echo "" 
    85112        @echo "Following commands are available to build outputs :" 
    86113        @echo "$ make html_en" 
    87114        @echo "$ make pdf_en" 
    88115        @echo "Last step = installation" 
    89         @echo "$ ./install.sh" 
     116        @echo "$ make install" 
    90117        @echo " " 
    91118        @echo "if you move this product to an other place, " 
    92         @echo "change DIRWWW,DIRBASE,DIRTMP in makefile" 
    93         @echo "change DIRSRC,DIRWWW in ./avant.sh" 
    94         @echo "change DIRFINALLOCEAN,DIRWWW in ./install.sh" 
     119        @echo "change parameters in the call sequence of ./before.sh and ./install.sh" 
     120        @echo "and in the call sequence of in ./install.sh" 
     121        @echo "in this makefile" 
     122 
     123before : 
     124        ./before.sh -p $(PRODUIT) -s $(DIRSRC) -w $(DIRWWW) -multi -l en   
     125 
     126install : 
     127        ./install.sh -w $(DIRWWW) -p $(DIRPUBLISH) 
    95128 
    96129clean : 
     
    131164$(DIRWWW)/en/one/$(PRODUIT2).html 
    132165 
    133 pdf_en : \ 
     166pdf_en : ./\ 
    134167$(DIRTMP)/$(PRODUIT)01.pdf \ 
    135168$(DIRTMP)/$(PRODUIT)02.pdf 
Note: See TracChangeset for help on using the changeset viewer.