From ee5d68346edfc80c184143f4d162941619dcd0f2 Mon Sep 17 00:00:00 2001 From: zakariakov Date: Tue, 6 Nov 2018 16:04:05 +0100 Subject: [PATCH] fix nstall --- elokab-adhan/elokab-adhan.pro | 7 ++++--- elokabAdhan.pro | 23 +---------------------- 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/elokab-adhan/elokab-adhan.pro b/elokab-adhan/elokab-adhan.pro index ab2109d..8ffac7d 100755 --- a/elokab-adhan/elokab-adhan.pro +++ b/elokab-adhan/elokab-adhan.pro @@ -100,7 +100,8 @@ RESOURCES += \ #INSTALL Linux target.path = /usr/bin - - - INSTALLS += target + data.files=../usr/share/* + data.path=/usr/share + INSTALLS += target \ + data diff --git a/elokabAdhan.pro b/elokabAdhan.pro index 070448e..9f33a3a 100755 --- a/elokabAdhan.pro +++ b/elokabAdhan.pro @@ -1,25 +1,4 @@ TEMPLATE = subdirs SUBDIRS = elokab-adhan - MKDIR = mkdir -p /usr/share/elokab/elokab-adhan/data - MKDIR = mkdir -p /usr/share/elokab/translations - MKDIR = mkdir -p /usr/share/elokab/translations - MKDIR = mkdir -p /usr/share/icons/hicolor/scalable/apps/ - - appdesktop.files =usr/share/applications/elokab-adhan.desktop - appdesktop.path=/usr/share/applications/ - - data.files =usr/share/elokab/elokab-adhan/data/* - data.path=/usr/share/elokab/elokab-adhan/data - - translations.files =usr/share/elokab/translations/* - translations.path=/usr/share/elokab/translations - - scalable.files=usr/share/icons/hicolor/scalable/apps/elokab-adhan.svg - scalable.path =/usr/share/icons/hicolor/scalable/apps/ - - - INSTALLS += data\ - translations\ - appdesktop\ -scalable +