start work on nodelist page
[raven.git] / apps / gacksadmin / Makefile
1 RPM_DIR = RPMS
2
3 GACKS_PHP = accounts.php account.php action.php add_account.php invoices.php reservations.php reservation_set.php nodestatus.php weekly.php wizard.php user_reservations.php user_service_level.php user_confirm_service.php gackstable.php user_add_reservation.php user_persons.php user_summary.php user_nodelist.php
4 GACKS_JS = popup.js gackstable.js
5 GACKS_MODULE = gacks.module vicci.module
6 GACKS_INCLUDE = gacks_functions.php gacksclient.php
7
8 rpms: rpm
9
10 rpm: gacksadminrpm
11
12 gacksadminrpm:
13         mkdir -p $(RPM_DIR)
14         mkdir -p build/gacksadmin/var/www/html/planetlab/gacks/
15         mkdir -p build/gacksadmin/var/www/html/modules/
16         mkdir -p build/gacksadmin/var/www/html/planetlab/includes/
17         mkdir -p build/gacksadmin/var/www/html/misc/
18         cp $(GACKS_PHP) build/gacksadmin/var/www/html/planetlab/gacks/
19         cp $(GACKS_MODULE) build/gacksadmin/var/www/html/modules/
20         cp $(GACKS_INCLUDE) build/gacksadmin/var/www/html/planetlab/includes/ 
21         cp $(GACKS_JS) build/gacksadmin/var/www/html/misc/
22         # build it
23         ravenbuilder gacksadmin build/gacksadmin $(RPM_DIR)
24
25 rpmvicci: gacksadminrpm
26         scp RPMS/gacksadmin.rpm root@vicci.org:/vservers/vicci.planet-lab.org-5.0-rc20/root/gacksadmin-latest.rpm
27         ssh root@vicci.org -C vserver vicci.planet-lab.org-5.0-rc20 exec rpm --install --upgrade /root/gacksadmin-latest.rpm