source: TI12-security/trunk/python/share/Makefile @ 2214

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

python/share/ndg-aa: fixed for tests with DEWS running on glue.

python/share/Makefile: auto-generates ndg-sm, ndg-log, ndg-gk and ndg-ca from ndg-aa.
ndg-aa is now a template file for the others.

python/ndg.security.common/ndg/security/common/AttCert.py: changed namespace to
urn:ndg:security:attributeCertificate

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg:
tests for DEWS.

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 27/02/07
5#
6# Generate SysV init scripts from ndg-aa template
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:$
14TEMPL_FILE=ndg-aa
15SCRIPT_FILES=ndg-sm ndg-ca ndg-gk ndg-log
16NAME_SUB=Attribute Authority
17CODE_SUB=AttAuthority
18
19generateScripts:
20        @echo -n "Making script files ${SCRIPT_FILES} from ${TEMPL_FILE} ... "
21        @NAME_REPL=( "Session Manager" "Certificate Authority" "Gatekeeper" "Log" ); \
22        CODE_REPL=( SessionMgr CertificateAuthority Gatekeeper Log ); \
23        j=0; \
24        for i in ${SCRIPT_FILES}; do \
25            cat ${TEMPL_FILE}|sed  s/"${NAME_SUB}"/"$${NAME_REPL[j]}"/g |sed s/"${CODE_SUB}"/"$${CODE_REPL[j]}"/g > $$i; \
26            let "j++"; \
27        done;
28        @echo done.
29
30clean:
31        rm -f ${SCRIPT_FILES}
Note: See TracBrowser for help on using the repository browser.