separate Linux only shortcuts and icons from make install

This commit is contained in:
Matthias Mailänder
2013-09-20 18:37:15 +02:00
parent 7a4f29afc6
commit 29d93f7d9d
2 changed files with 20 additions and 7 deletions

View File

@@ -15,10 +15,16 @@ ROOTDIR=root
# Clean up
rm -rf $ROOTDIR
# Copy files
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"
# Launch scripts (executed by Desura)
cp *.sh "$PWD/packaging/linux/$ROOTDIR/usr/share/openra/" || exit 3
# Icons and .desktop files
make install-shortcuts
cd packaging/linux
(