diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:00:25 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:00:25 +0000 |
commit | f44a93685ae651a08b51a2688a1c8d4c9ae2d28e (patch) | |
tree | 55a0e746490984861807e2a2ab349a1c29b028b9 /cmake/dists/debian/package_debian.sh | |
parent | 3dc85900d3b6f2bdd269229683452702c3d37cae (diff) | |
download | usdx-f44a93685ae651a08b51a2688a1c8d4c9ae2d28e.tar.gz usdx-f44a93685ae651a08b51a2688a1c8d4c9ae2d28e.tar.xz usdx-f44a93685ae651a08b51a2688a1c8d4c9ae2d28e.zip |
checkin of trunk-copy as base for cmake test
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1716 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | cmake/dists/debian/package_debian.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cmake/dists/debian/package_debian.sh b/cmake/dists/debian/package_debian.sh new file mode 100644 index 00000000..bdb341a2 --- /dev/null +++ b/cmake/dists/debian/package_debian.sh @@ -0,0 +1,32 @@ +# This script should be run post-compile +# and i should move files to the correct location for packaging ... ( for DEB package ) + +rm -fr ../../../deb-package +rm -fr ../../../packages +clear + +mkdir ../../../packages + +mkdir ../../../deb-package +mkdir ../../../deb-package/DEBIAN +mkdir ../../../deb-package/usr +mkdir ../../../deb-package/usr/local +mkdir ../../../deb-package/usr/local/share +mkdir ../../../deb-package/usr/local/share/UltraStarDeluxe +mkdir ../../../deb-package/usr/bin + +cp ../../UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe + +cp -a ../../Themes/ ../../../deb-package/usr/local/share/UltraStarDeluxe/ +cp -a ../../Sounds/ ../../../deb-package/usr/local/share/UltraStarDeluxe/ +cp -a ../../Skins/ ../../../deb-package/usr/local/share/UltraStarDeluxe/ +cp -a ../../Languages/ ../../../deb-package/usr/local/share/UltraStarDeluxe/ + +cp UltraStarDeluxe.control ../../../deb-package/DEBIAN/control + +cd ../../../ + +dpkg-deb --build ./deb-package +mv deb-package.deb ./packages/UltraStarDeluxe_1.1_i386.deb + +rm -fr ../../../deb-package |