team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00362
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 551: Create automatically installation folders of Desktop interface
------------------------------------------------------------
revno: 551
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Tue 2013-02-05 19:31:11 +0100
message:
Create automatically installation folders of Desktop interface
when they don't exist
modified:
Makefile
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'Makefile'
--- Makefile 2013-01-07 16:40:08 +0000
+++ Makefile 2013-02-05 18:31:11 +0000
@@ -49,8 +49,8 @@
## Installation Paths:
PREFIX?=/usr
-CONFIG_INSTALL_PATH="$(DESTDIR)$(PREFIX)/share/alfanous-config/"
-INDEX_INSTALL_PATH="$(DESTDIR)$(PREFIX)/share/alfanous-indexes/"
+#CONFIG_INSTALL_PATH="$(DESTDIR)$(PREFIX)/share/alfanous-config/"
+#INDEX_INSTALL_PATH="$(DESTDIR)$(PREFIX)/share/alfanous-indexes/"
WEB_INSTALL_PATH=$(DESTDIR)/var/www/alfanous-web/
WEB_CGI_INSTALL_PATH=$(WEB_INSTALL_PATH)cgi/
@@ -391,13 +391,17 @@
install_api:
- cd "$(API_PATH)alfanous" ; python setup.py install
+ cd "$(API_PATH)alfanous" ; python setup.py install #--root=%{buildroot}
install_desktop: install_api qt_all local_mo_download
- cd $(DESKTOP_INTERFACE_PATH); sudo python setup.py install
+ cd $(DESKTOP_INTERFACE_PATH); sudo python setup.py install #--root=%{buildroot}
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
cp ./resources/launchers/alfanousDesktop $(DESTDIR)$(PREFIX)/bin/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/applications/
cp ./resources/launchers/alfanous.desktop $(DESTDIR)$(PREFIX)/share/applications/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps/
cp ./resources/AlFanous.png $(DESTDIR)$(PREFIX)/share/pixmaps/
+ mkdir -p $(DESTDIR)$(PREFIX)/share/fonts/
cp ./resources/fonts/* $(DESTDIR)$(PREFIX)/share/fonts/
#test installation
alfanousDesktop &