source:
fedd/Makefile
@
5d3f239
Last change on this file since 5d3f239 was 5d3f239, checked in by , 16 years ago | |
---|---|
|
|
File size: 788 bytes |
Rev | Line | |
---|---|---|
[6ff0b91] | 1 | |
[5d3f239] | 2 | MODULE_DIR=federation |
3 | ||
4 | GENERATED_MODS= ${MODULE_DIR}/fedd_services.py \ | |
5 | ${MODULE_DIR}/fedd_internal_services.py \ | |
6 | ${MODULE_DIR}/fedd_services_types.py | |
[7aec37d] | 7 | WSDL_FILES= fedd.wsdl fedd_bindings.wsdl fedd_messages.wsdl fedd_types.xsd \ |
8 | fedd_internal.wsdl fedd_internal_bindings.wsdl \ | |
9 | fedd_internal_messages.wsdl | |
[6ff0b91] | 10 | |
[edbc841] | 11 | VERSION=1.0 |
12 | ||
13 | DISTFILES= dist/fedd-${VERSION}.tar.gz | |
[830ca65] | 14 | |
[6ff0b91] | 15 | all: ${GENERATED_MODS} |
16 | ||
17 | ||
18 | ${GENERATED_MODS}: ${WSDL_FILES} | |
[5d3f239] | 19 | wsdl2py --file fedd.wsdl --complexType --output-dir=${MODULE_DIR} |
[ec4fb42] | 20 | wsdl2py --file fedd_internal.wsdl --complexType \ |
[5d3f239] | 21 | --types=fedd_services_types --output-dir=${MODULE_DIR} |
[6ff0b91] | 22 | |
23 | clean: | |
[5d3f239] | 24 | rm -f ${GENERATED_MODS} ${MODULE_DIR}/*.pyc *.pyc |
[edbc841] | 25 | rm -rf build dist fedd.egg-info MANIFEST |
[830ca65] | 26 | |
27 | dist: ${DISTFILES} | |
28 | ||
[5d3f239] | 29 | dist/fedd-${VERSION}.tar.gz: all |
[830ca65] | 30 | python ./setup.py sdist |
Note: See TracBrowser
for help on using the repository browser.