/[eiffelstudio]/trunk/Delivery/scripts/unix/make_debian_package
ViewVC logotype

Diff of /trunk/Delivery/scripts/unix/make_debian_package

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

revision 73279 by fivaa, Thu May 1 23:24:18 2008 UTC revision 73280 by fivaa, Fri May 2 00:35:28 2008 UTC
# Line 31  DOCS_DIR=/usr/share/doc/$PRODUCT/docs Line 31  DOCS_DIR=/usr/share/doc/$PRODUCT/docs
31  ./make_unix_layout $DEBIAN_DIR/$PRODUCT  ./make_unix_layout $DEBIAN_DIR/$PRODUCT
32    
33    
34    # NOTE: this will be moved to the make_unix_layout script
35    mkdir -p $DEBIAN_DIR/$PRODUCT/usr/share/applications
36    mkdir -p $DEBIAN_DIR/$PRODUCT/usr/share/icons
37    cp $PACKAGING_DIR/desktop $DEBIAN_DIR/$PRODUCT/usr/share/applications/eiffelstudio.desktop
38    cp $PACKAGING_DIR/logo.png $DEBIAN_DIR/$PRODUCT/usr/share/icons/eiffelstudio.png
39    
40    
41  # Prepare debian packaging files  # Prepare debian packaging files
42  sh $DEBIAN_DIR/control.sh  sh $DEBIAN_DIR/control.sh
43  sh $DEBIAN_DIR/changelog.sh  sh $DEBIAN_DIR/changelog.sh
44  cp $PACKAGING_DIR/license $DEBIAN_DIR/copyright  cp $PACKAGING_DIR/license $DEBIAN_DIR/copyright
45  echo '#!/bin/sh' > $DEBIAN_DIR/$PRODUCT.postinst > $DEBIAN_DIR/$PRODUCT.prerm  echo '#!/bin/sh' > $DEBIAN_DIR/$PRODUCT.postinst
46    echo '#!/bin/sh' > $DEBIAN_DIR/$PRODUCT.prerm
47  sh $PACKAGING_DIR/postinstall.sh >> $DEBIAN_DIR/$PRODUCT.postinst  sh $PACKAGING_DIR/postinstall.sh >> $DEBIAN_DIR/$PRODUCT.postinst
48  sh $PACKAGING_DIR/preremove.sh >> $DEBIAN_DIR/$PRODUCT.prerm  sh $PACKAGING_DIR/preremove.sh >> $DEBIAN_DIR/$PRODUCT.prerm
49    
# Line 66  echo Finished building package $PRODUCT Line 74  echo Finished building package $PRODUCT
74  # Clean up all build files  # Clean up all build files
75  cd ../  cd ../
76  dh_clean  dh_clean
77  rm -rf $DEBIAN_DIR/$PRODUCT  rm -r $DEBIAN_DIR/$PRODUCT
78  rm -f $DEBIAN_DIR/$PRODUCT.postinst  rm $DEBIAN_DIR/$PRODUCT.postinst
79  rm -f $DEBIAN_DIR/$PRODUCT.prerm  rm $DEBIAN_DIR/$PRODUCT.prerm
80  rm -f $DEBIAN_DIR/control  rm $DEBIAN_DIR/copyright
81  rm -f $DEBIAN_DIR/changelog  rm $DEBIAN_DIR/control
82    rm $DEBIAN_DIR/changelog
83    

Legend:
Removed from v.73279  
changed lines
  Added in v.73280

  ViewVC Help
Powered by ViewVC 1.1.23