# HG changeset patch # User Chris Cannam # Date 1570708199 -3600 # Node ID 0eebba29d47767af6758826c58166ed4c62a7ecc # Parent 8c6e87a89101e235c8f915f88fb2af551f66251d Add install targets diff -r 8c6e87a89101 -r 0eebba29d477 tonyapp.pro --- 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