source: TI12-security/trunk/python/Makefile @ 2869

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Makefile@2869
Revision 2869, 664 bytes checked in by pjkersha, 13 years ago (diff)

Makefile: add build and *.egg-info to clean target.

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 15/03/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:$
14EGG_DIRS=ndg.security.common ndg.security.client ndg.security.server \
15ndg.security.test .
16
17# Override on the command line for alternative path
18PYTHON=/usr/bin/python
19
20eggs:
21        @-for dir in ${EGG_DIRS}; do \
22                cd $$dir; \
23                ${PYTHON} setup.py bdist_egg; \
24                cd ..; \
25        done;
26
27clean:
28        @-for dir in ${EGG_DIRS}; do \
29                cd $$dir; \
30                rm -f dist/*.egg; \
31                rm -rf *.egg-info; \
32                rm -rf build; \
33                cd ..; \
34        done;
35
36replace: clean eggs
Note: See TracBrowser for help on using the repository browser.