source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/attributeauthority/Makefile @ 4360

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/attributeauthority/Makefile@4360
Revision 4360, 912 bytes checked in by pjkersha, 12 years ago (diff)

Re-arranging package structure

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 24/01/07
5#
6# Generate web service stubs from WSDL for Attribute Authority client and
7# server side code
8#
9# @copyright (C) 2007 CCLRC & NERC
10#
11# @license This software may be distributed under the terms of the Q Public
12# License, version 1.0 or later.
13#
14# $Id:$
15WSDL_FILE=../../../../../../ndg.security.common/ndg/security/common/zsi/attributeauthority/attAuthority.wsdl
16CMD=wsdl2dispatch
17OPTS=-e -f
18
19STUB_FILE=AttAuthority_services_server.py
20TMP_FILE=AttAuthority_services_server.py.tmp
21
22ORIG1=from AttAuthority_services import
23REPL1=from ndg.security.common.zsi.attributeauthority.AttAuthority_services import
24
25generateStubs: ${WSDL_FILE}
26        @echo Generate stub ...
27        ${CMD} ${OPTS} ${WSDL_FILE}
28        @echo Make substitutions for correct NDG import path ...
29        @cat ${STUB_FILE}|sed  s/"${ORIG1}"/"${REPL1}"/g > ${TMP_FILE}
30        @mv ${TMP_FILE} ${STUB_FILE}
31        @echo Done.
Note: See TracBrowser for help on using the repository browser.