RedPanda-CPP/packages/debian/builddeb.sh

23 lines
455 B
Bash
Executable File

#!/bin/sh
make distclean
TMP_FOLDER=/tmp/redpandaide
test -n $TMP_FOLDER | rm -rf $TMP_FOLDER
test -z $TMP_FOLDER | mkdir $TMP_FOLDER
cp -r packages/debian $TMP_FOLDER
cp -r tools $TMP_FOLDER
cp -r libs $TMP_FOLDER
cp -r RedPandaIDE $TMP_FOLDER
cp README.md $TMP_FOLDER
cp LICENSE $TMP_FOLDER
cp NEWS.md $TMP_FOLDER
cp -r platform/linux $TMP_FOLDER
cp Red_Panda_CPP.pro $TMP_FOLDER
cp -r linux $TMP_FOLDER
cd $TMP_FOLDER
dpkg-buildpackage -us -uc