/[escript]/trunk/packaging/lenny/builddeb
ViewVC logotype

Diff of /trunk/packaging/lenny/builddeb

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

revision 2293 by jfenwick, Fri Feb 27 05:34:51 2009 UTC revision 2294 by jfenwick, Mon Mar 2 03:44:27 2009 UTC
# Line 4  Line 4 
4  # Its purpose is to produce a .deb for escript  # Its purpose is to produce a .deb for escript
5    
6  SRCDIR=`pwd`  SRCDIR=`pwd`
7  WRAPPERNAME=finleypython  WRAPPERNAME=escript
8    ALTWRAPPERNAME=finleypython
9  OUTPUTROOT=$SRCDIR/build/package/lenny/escript  OUTPUTROOT=$SRCDIR/build/package/lenny/escript
10  LIBOUT=$OUTPUTROOT/usr/lib/escript  LIBOUT=$OUTPUTROOT/usr/lib/escript
11  BINOUT=$OUTPUTROOT/usr/bin  BINOUT=$OUTPUTROOT/usr/bin
# Line 30  then Line 31  then
31    rm -rf $OUTPUTROOT || (echo "Error could not clean build area";exit 2)    rm -rf $OUTPUTROOT || (echo "Error could not clean build area";exit 2)
32  fi  fi
33    
   
   
34  mkdir -p $OUTPUTROOT  mkdir -p $OUTPUTROOT
35    
36  #First copy debian skeleton  #First copy debian skeleton
# Line 42  mkdir -p $OUTPUTROOT/usr/share/man/man1 Line 41  mkdir -p $OUTPUTROOT/usr/share/man/man1
41    
42  #copy the man page  #copy the man page
43  cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1  cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1
44    cp $SRCDIR/doc/manpage/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
45    gzip $OUTPUTROOT/usr/share/man/man1/$WRAPPERNAME.1
46    gzip $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
47    
48  mkdir -p $LIBOUT/lib  mkdir -p $LIBOUT/lib
49  mkdir -p $BINOUT  mkdir -p $BINOUT
# Line 65  %$ESCRIPT_ROOT Line 67  %$ESCRIPT_ROOT
67    
68  #end content from finley_wrapper_writer.sh  #end content from finley_wrapper_writer.sh
69    
70    cd $BINOUT
71    ln -s $WRAPPERNAME $ALTWRAPPERNAME
72    cd $SRCDIR
73    
74    cp release/doc/
75    
76  #Nuke any svn stuff that made it in  #Nuke any svn stuff that made it in
77  find $OUTPUTROOT -name ".svn" | xargs rm -rf  find $OUTPUTROOT -name ".svn" | xargs rm -rf
78    

Legend:
Removed from v.2293  
changed lines
  Added in v.2294

  ViewVC Help
Powered by ViewVC 1.1.26