import repository from arizona
[raven.git] / demo / gec11 / Makefile
1 RPM_DIR = RPMS
2
3 rpms: account_setup_rpm ravendemo_rpm
4
5 account_setup_rpm:
6         cp scripts/configsfi.sh build/account_setup/usr/local/geni/account_setup/scripts/
7         cp scripts/copykeys.sh build/account_setup/usr/local/geni/account_setup/scripts/
8         cp scripts/createusers.sh build/account_setup/usr/local/geni/account_setup/scripts/
9         cp scripts/setpasswords.sh build/account_setup/usr/local/geni/account_setup/scripts/
10         cp keys/guest* build/account_setup/usr/local/geni/account_setup/keys/
11         ravenbuilder geni_account_setup build/account_setup $(RPM_DIR)
12
13 ravendemo_rpm:
14         cp ../pingpong/packages/helloworld*.rpm build/ravendemo/usr/local/geni/ravendemo
15         cp ../pingpong/prepare build/ravendemo/usr/local/geni/ravendemo
16         cp ../pingpong/start build/ravendemo/usr/local/geni/ravendemo
17         cp ../pingpong/ping.py build/ravendemo/usr/local/geni/ravendemo
18         cp ../pingpong/pong.py build/ravendemo/usr/local/geni/ravendemo
19         cp ../pingpong/pong.conf build/ravendemo/usr/local/geni/ravendemo
20         cp scripts/copy_pingpong.sh build/ravendemo/usr/local/geni/ravendemo
21         chmod a+x build/ravendemo/usr/local/geni/ravendemo/*.sh
22         ravenbuilder ravendemo_setup build/ravendemo $(RPM_DIR)
23
24 debs:
25         rm -f DEBS/*.deb
26         cd DEBS; alien -k --scripts ../RPMS/ravendemo_setup.rpm 
27         cd DEBS; alien -k --scripts ../RPMS/geni_account_setup.rpm