# --------------------------------------------------- -*- Makefile -*- -- # $Id$ # # @Copyright@ # # Rocks(r) # www.rocksclusters.org # version 5.5 (Mamba) # version 6.0 (Mamba) # # Copyright (c) 2000 - 2012 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright # notice unmodified and in its entirety, this list of conditions and the # following disclaimer in the documentation and/or other materials provided # with the distribution. # # 3. All advertising and press materials, printed or electronic, mentioning # features or use of this software must display the following acknowledgement: # # "This product includes software developed by the Rocks(r) # Cluster Group at the San Diego Supercomputer Center at the # University of California, San Diego and its contributors." # # 4. Except as permitted for the purposes of acknowledgment in paragraph 3, # neither the name or logo of this software nor the names of its # authors may be used to endorse or promote products derived from this # software without specific prior written permission. The name of the # software includes the following terms, and any derivatives thereof: # "Rocks", "Rocks Clusters", and "Avalanche Installer". For licensing of # the associated name, interested parties should contact Technology # Transfer & Intellectual Property Services, University of California, # San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, # Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:invent@ucsd.edu # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # @Copyright@ # # $Log$ # Revision 1.8 2012/05/06 05:48:53 phil # Copyright Storm for Mamba # # Revision 1.7 2011/07/23 02:30:55 phil # Viper Copyright # # Revision 1.6 2010/09/07 23:53:12 bruno # star power for gb # # Revision 1.5 2009/05/01 19:07:13 mjk # chimi con queso # # Revision 1.4 2008/12/10 21:36:04 bruno # - condor roll is now buildable outside rocks source tree # # - updated bits to v7.0.5 # # Revision 1.3 2008/10/18 00:56:06 mjk # copyright 5.1 # # Revision 1.2 2008/03/06 23:41:49 mjk # copyright storm on # # Revision 1.1 2007/07/11 21:09:41 phil # Add rocks sync condor command. # Read config variables from database on each condor sync. # PKGROOT = /opt/rocks REDHAT.ROOT = $(CURDIR)/../../ -include $(ROCKSROOT)/etc/Rules.mk include Rules.mk build: install:: mkdir -p $(ROOT)/$(PY.ROCKS)/rocks/commands ( \ cd commands; \ find . -name "*.py" | \ cpio -pduv $(ROOT)/$(PY.ROCKS)/rocks/commands; \ ) find $(ROOT)/$(PY.ROCKS)/rocks/commands -name "*.py" | awk \ '{ print "\nRollName = \"$(ROLL)\"" >> $$1; }' find $(ROOT) -type d -exec chmod a+rx {} \; clean:: rm -f $(SCRIPTS)