/[MITgcm]/MITgcm/doc/api_reference/configure
ViewVC logotype

Diff of /MITgcm/doc/api_reference/configure

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

revision 1.5 by edhill, Thu Apr 1 05:00:06 2004 UTC revision 1.6 by edhill, Thu Apr 1 05:34:41 2004 UTC
# Line 29  cat <<EOF > Makefile Line 29  cat <<EOF > Makefile
29    
30  all: all_protex  all: all_protex
31    
 clean:  
         -rm -f *_*.tex *.aux *.dvi *.log *.toc *.out  
   
32  EOF  EOF
33    
34  rm -rf ./.targets  rm -rf ./.targets ./.all_clean
35  cat ./.dir_list_nocomments | while read line ; do  cat ./.dir_list_nocomments | while read line ; do
36    
37      echo >> Makefile      echo >> Makefile
38      base_target=`echo $line | awk '{print $1}' | sed -e 's|/|__|g'`      base_target=`echo $line | awk '{print $1}' | sed -e 's|/|__|g'`
39      target=$base_target".tex"      target=$base_target".tex"
40        printf " $target" >> ./.all_clean
41      echo "Finding files for \"$target\" in: $line"      echo "Finding files for \"$target\" in: $line"
42      tex_files=""      tex_files=""
43      h_files=""      h_files=""
# Line 126  api_main.dvi:  api_main.tex Line 124  api_main.dvi:  api_main.tex
124          latex api_main          latex api_main
125          latex api_main          latex api_main
126    
127  all_protex: api_main.dvi  api_main.ps: api_main.dvi
128            dvips -Pcmz -Pamz -o api_main.ps api_main.dvi
129    
130    PDFOPTS = -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true
131    api_main.pdf: api_main.ps
132            ps2pdf \$(PDFOPTS) api_main.ps api_main.pdf
133    
134    all_protex: api_main.pdf
135    
136    clean:
137            -rm -f *.aux *.dvi *.log *.toc *.out
138            -rm -f api_main.*
139  EOF  EOF
140    
141    printf "\t-rm -f " >> Makefile
142    cat ./.all_clean >> Makefile
143    
144  rm -f ./.dir_list_nocomments  rm -f ./.dir_list_nocomments
145  rm -f ./.targets  rm -f ./.targets
146    rm -f ./.all_clean

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22