summaryrefslogtreecommitdiff
path: root/spacecadetpinball/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'spacecadetpinball/debian/rules')
-rwxr-xr-xspacecadetpinball/debian/rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/spacecadetpinball/debian/rules b/spacecadetpinball/debian/rules
new file mode 100755
index 0000000..e9a9fb3
--- /dev/null
+++ b/spacecadetpinball/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
+PACKAGE_NAME="spacecadetpinball"
+
+%:
+ dh $@
+
+execute_after_dh_install:
+ mv -f "debian/${PACKAGE_NAME}/usr/bin/SpaceCadetPinball" "debian/${PACKAGE_NAME}/usr/lib/spacecadetpinball"
+ mv -f "debian/${PACKAGE_NAME}/usr/lib/${PACKAGE_NAME}/Sounds"/* "debian/${PACKAGE_NAME}/usr/lib/${PACKAGE_NAME}/"
+ pwd
+ find . ! -type d -exec ls -altrdF --color=always {} +
+
+#override_dh_auto_configure:
+# dh_auto_configure -- \
+# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"
bgstack15