~graziano.obertelli/eucalyptus/lp683800

« back to all changes in this revision

Viewing changes to roll/Makefile

  • Committer: graziano
  • Date: 2009-08-26 19:22:22 UTC
  • Revision ID: graziano@t400s-20090826192222-tk8bq542pgljg0k8
Removed roll related stuff: it was very old and definetely not applicable
to the current source.
Added stubs for the monitoring scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
3
 
# An easy way to build a roll
4
 
 
5
 
URL_BASE=http://open.eucalyptus.com/dependencies/1.4/CentOS/RPMS
6
 
 
7
 
all: get_rpm
8
 
        @(cd eucalyptus; make roll)
9
 
 
10
 
get_rpm:
11
 
        @if [ ! -x /opt/rocks/bin/rocks ]; then \
12
 
                echo "You are not on rocks!"; exit 1; fi
13
 
        @mkdir -p eucalyptus/RPMS/`uname -m`
14
 
        @echo "removing old rpms ..."
15
 
        @rm -f eucalyptus/RPMS/`uname -m`/*
16
 
        @echo "downloading rpms ..."
17
 
        @(cd eucalyptus/RPMS/`uname -m`; wget -np -q -nd -r -A .rpm ${URL_BASE}/`uname -m`/)
18
 
 
19
 
dist:
20
 
        @rm -f euca-roll.tgz
21
 
        @tar --exclude CVS -czf euca-roll.tgz *
22
 
 
23
 
clean:
24
 
        @rm euca-roll.tgz
25
 
 
26
 
distclean:
27
 
 
28
 
install: