Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for platos/_scripts/build-struct between version 1.11 and 1.12

version 1.11, 2005/09/18 00:31:15 version 1.12, 2005/09/18 01:38:18
Line 16 
Line 16 
 # 30/01/2003 - created  # 30/01/2003 - created
 #  #
   
 # $Platon: Platon.SK/office/_scripts/build-struct,v 1.10 2005/06/11 01:46:58 rajo Exp $  # $Platon: Platon.SK/office/_scripts/build-struct,v 1.11 2005/09/18 00:31:15 rajo Exp $
   
 usage()  usage()
 { # {{{  { # {{{
         echo "Usage:"          echo "Usage:"
         echo          echo
         echo "$0 '<PostScript|PDF|HTML>'"          echo "$0 <PostScript|PDF|HTML|RTF> <LATEX|PDFLATEX|LATEX2HTML|LATEX2RTF> <command>"
         echo          echo
           exit 1
 } # }}}  } # }}}
   
 test_environ()  test_environ()
Line 61  make_symlinks()
Line 62  make_symlinks()
                 )                  )
 } # }}}  } # }}}
   
 if [ "$#" -lt "1" ]; then  if [ "$#" -lt "3" ]; then
         usage;          usage;
 fi  fi
   
Line 70  test_environ \
Line 71  test_environ \
         OUTPUT \          OUTPUT \
         TOP_DIR          TOP_DIR
   
 echo "Building $1"  # tests for availability of required commands
   # {{{
   if [ "X$2" = "X" ]; then
           usage;
   fi
   if [ "X$3" = "X" ]; then
           echo "Please, specify command $2= in your Makefile"
           exit 1
   else
           cmd="`which $3`";
           version="`$cmd -v 2>/dev/null | head -n 1`"
           if [ "Bad$version" = "Bad" ]; then
                   echo "Command $3 returns bad version string, Building of $1 skipped ..."
                   exit 1;
           fi
   fi
   # }}}
   
   echo "Building $1 with $cmd version $version"
   # {{{
 if [ "X$1" = "XPostScript" ]; then  if [ "X$1" = "XPostScript" ]; then
   
         test_environ ps__INPUT ps__OUTPUT          test_environ ps__INPUT ps__OUTPUT
Line 95  else
Line 115  else
         echo "I don't know, what do you want with parameter '$1'..."          echo "I don't know, what do you want with parameter '$1'..."
         exit 1          exit 1
 fi  fi
   #}}}
   
 # vim: fdm=marker fdl=0 fdc=3  # vim: fdm=marker fdl=0 fdc=3
   

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top