changeset 616:0eebba29d477

Add install targets
author Chris Cannam
date Thu, 10 Oct 2019 12:49:59 +0100
parents 8c6e87a89101
children b6c0c3e7ce99
files tonyapp.pro
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tonyapp.pro	Thu Oct 10 12:48:12 2019 +0100
+++ b/tonyapp.pro	Thu Oct 10 12:49:59 2019 +0100
@@ -17,6 +17,27 @@
 linux*:TARGET = tony
 solaris*:TARGET = tony
 
+linux* {
+
+    tony_bins.path = $$PREFIX_PATH/bin/
+    tony_bins.files = tony
+    tony_bins.CONFIG = no_check_exist
+
+    tony_support.path = $$PREFIX_PATH/lib/tony/
+    tony_support.files = chp.so pyin.so
+    tony_support.CONFIG = no_check_exist
+
+    tony_desktop.path = $$PREFIX_PATH/share/applications/
+    tony_desktop.files = tony.desktop
+    tony_desktop.CONFIG = no_check_exist
+
+    tony_icon.path = $$PREFIX_PATH/share/icons/hicolor/scalable/apps/
+    tony_icon.files = icons/tony-icon.svg
+    tony_icon.CONFIG = no_check_exist
+    
+    INSTALLS += tony_bins tony_support tony_desktop tony_icon
+}
+
 OBJECTS_DIR = o
 MOC_DIR = o