← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 552: Specification of the building root path for python setup.py

 

------------------------------------------------------------
revno: 552
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Thu 2013-02-07 18:04:20 +0100
message:
  Specification of the building root path for python setup.py
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-02-05 18:31:11 +0000
+++ Makefile	2013-02-07 17:04:20 +0000
@@ -391,10 +391,10 @@
 
 
 install_api: 
-	cd   "$(API_PATH)alfanous" ; python setup.py install #--root=%{buildroot}
+	cd   "$(API_PATH)alfanous" ; python setup.py install --root=$(DESTDIR)
 	
 install_desktop:  install_api qt_all  local_mo_download
-	cd  $(DESKTOP_INTERFACE_PATH); sudo python setup.py install #--root=%{buildroot}
+	cd  $(DESKTOP_INTERFACE_PATH); sudo python setup.py install --root=$(DESTDIR)
 	mkdir -p $(DESTDIR)$(PREFIX)/bin/
 	cp ./resources/launchers/alfanousDesktop $(DESTDIR)$(PREFIX)/bin/
 	mkdir -p $(DESTDIR)$(PREFIX)/share/applications/