Remove native code from deb packages.

This commit is contained in:
Paul Chote
2014-11-15 18:24:10 +13:00
committed by Paul Chote
parent 260c36239b
commit c4967db0cc
6 changed files with 10 additions and 9 deletions

View File

@@ -1,16 +1,15 @@
#!/bin/bash
# OpenRA packaging master script for linux packages
if [ $# -ne "4" ]; then
echo "Usage: `basename $0` tag files-dir platform-files-dir outputdir"
if [ $# -ne "3" ]; then
echo "Usage: `basename $0` tag files-dir outputdir"
exit 1
fi
TAG=$1
VERSION=`echo $TAG | grep -o "[0-9]\\+-\\?[0-9]\\?"`
BUILTDIR=$2
DEPSDIR=$3
PACKAGEDIR=$4
PACKAGEDIR=$3
ROOTDIR=root
# Clean up
@@ -21,8 +20,6 @@ cd ../..
# Copy files for OpenRA.Game.exe and OpenRA.Editor.exe as well as all dependencies.
make install-all prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
cp $DEPSDIR/* $PWD/packaging/linux/$ROOTDIR/usr/lib/openra/
# Install startup scripts, desktop files and icons
make install-linux-shortcuts prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"