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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Makefile@2909
Revision 2909, 1.0 KB checked in by pjkersha, 14 years ago (diff)

Updated for epydoc: added double underscore vars module info

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=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
37
38# Convenient alias
39force: replace
40
41# Generate HTML from embedded epydoc text in source code.
42EPYDOC=epydoc
43EPYDOC_OUTDIR=../documentation/epydoc
44EPYDOC_NAME='NDG Security'
45EPYDOC_LOGFILE=epydoc.log
46EPYDOC_FRAMES_OPT=--no-frames
47
48epydoc:
49        ${EPYDOC} ./ndg.security.*/ndg -o ${EPYDOC_OUTDIR} \
50        --name ${EPYDOC_NAME} ${EPYDOC_FRAMES_OPT} --include-log --graph all -v \
51        >& ${EPYDOC_LOGFILE}
Note: See TracBrowser for help on using the repository browser.