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

Diff of /trunk/packaging/debuntu/builddeb

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

revision 2367 by jfenwick, Mon Apr 6 04:51:49 2009 UTC revision 2409 by jfenwick, Tue May 5 06:22:11 2009 UTC
# Line 3  Line 3 
3  #This script produced with the aid of "The Debian System concepts and techniques" By Martin F. Krafft  #This script produced with the aid of "The Debian System concepts and techniques" By Martin F. Krafft
4  # Its purpose is to produce a .deb for escript  # Its purpose is to produce a .deb for escript
5    
6  VERSION=~2.0-1  VERSION=-2.0-1
7  SRCDIR=`pwd`  SRCDIR=`pwd`
8  WRAPPERNAME=escript  WRAPPERNAME=escript
9  ALTWRAPPERNAME=finleypython  #ALTWRAPPERNAME=finleypython
10  OUTPUTROOT=$SRCDIR/build/package/lenny/escript  OUTPUTROOT=$SRCDIR/build/package/lenny/escript
11  LIBOUT=$OUTPUTROOT/usr/lib/escript  LIBOUT=$OUTPUTROOT/usr/lib/escript
12  BINOUT=$OUTPUTROOT/usr/bin  BINOUT=$OUTPUTROOT/usr/bin
# Line 42  mkdir -p $OUTPUTROOT/usr/share/man/man1 Line 42  mkdir -p $OUTPUTROOT/usr/share/man/man1
42    
43  #copy the man page  #copy the man page
44  cp $SRCDIR/doc/manpage/man1/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1  cp $SRCDIR/doc/manpage/man1/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1
45  cp $SRCDIR/doc/manpage/man1/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1  #cp $SRCDIR/doc/manpage/man1/$WRAPPERNAME.1 $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
46  gzip $OUTPUTROOT/usr/share/man/man1/$WRAPPERNAME.1  gzip $OUTPUTROOT/usr/share/man/man1/$WRAPPERNAME.1
47  gzip $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1  #gzip $OUTPUTROOT/usr/share/man/man1/$ALTWRAPPERNAME.1
48    
49  #copy the documentation  #copy the documentation
50  cp $SRCDIR/release/doc/escript_examples.tar.gz $OUTPUTROOT/usr/share/doc/escript/  cp $SRCDIR/release/doc/escript_examples.tar.gz $OUTPUTROOT/usr/share/doc/escript/
# Line 76  %$ESCRIPT_ROOT Line 76  %$ESCRIPT_ROOT
76  #end content from finley_wrapper_writer.sh  #end content from finley_wrapper_writer.sh
77    
78  cd $BINOUT  cd $BINOUT
79  ln -s $WRAPPERNAME $ALTWRAPPERNAME  #ln -s $WRAPPERNAME $ALTWRAPPERNAME
80  cd $SRCDIR  cd $SRCDIR
81    
82  #Nuke any svn stuff that made it in  #Nuke any svn stuff that made it in

Legend:
Removed from v.2367  
changed lines
  Added in v.2409

  ViewVC Help
Powered by ViewVC 1.1.26