Fixed debian packaging.
[medard] / medard.pro
index c2bc3e4..242cead 100644 (file)
@@ -39,17 +39,24 @@ TRANSLATIONS += \
     translations/medard_sk.ts
 
 unix:!symbian {
-    DEPLOYMENTFOLDERS = translations
+    target.path = /opt/medard/bin
+
+    desktop.files = medard.desktop
+
+    icon.files = medard.png
+    icon.path = /usr/share/icons/hicolor/64x64/apps
+
+    translations.files = translations/*.qm
+    translations.path = /opt/medard/share/l10n
+
     maemo 5 {
         DEFINES += Q_WS_MAEMO_5
+        desktop.path  = /usr/share/applications/hildon
     } else {
         DEFINES += Q_WS_MAEMO_6
         CONFIG += meegotouch
+        desktop.path  = /usr/share/applications
     }
 }
 
-translations.source = \
-    translations/medard_cs.qm \
-    translations/medard_en.qm \
-    translations/medard_sk.qm
-
+INSTALLS += target desktop icon translations
\ No newline at end of file