source: TI05-delivery/ows_framework/trunk/Makefile @ 2859

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/Makefile@2859
Revision 2859, 644 bytes checked in by pjkersha, 12 years ago (diff)

Added a Makefile as a convenience utility for building server and common eggs.
PYTHON macro can be set on command line to required python. make creates
eggs; clean remove any eggs in ows_*/dist; replace calls clean then remakes
eggs.

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 30/08/07
5#
6# Make all eggs
7#
8# @copyright (C) 2007 CCLRC & NERC
9#
10# @license This software may be distributed under the terms of the Q Public
11# License, version 1.0 or later.
12#
13# $Id:$
14
15# ows_wps not currently needed in build
16#EGG_DIRS=ows_common ows_server ows_wps
17EGG_DIRS=ows_common ows_server
18
19# Override on the command line for alternative path
20PYTHON=/usr/bin/python
21
22eggs:
23        @-for dir in ${EGG_DIRS}; do \
24                cd $$dir; \
25                ${PYTHON} setup.py bdist_egg; \
26                cd ..; \
27        done;
28
29clean:
30        @-for dir in ${EGG_DIRS}; do \
31                cd $$dir; \
32                rm -f dist/*.egg; \
33                cd ..; \
34        done;
35
36replace: clean eggs
Note: See TracBrowser for help on using the repository browser.