source: fedd/Makefile @ 187a8f9

Last change on this file since 187a8f9 was 36e701e, checked in by Ted Faber <faber@…>, 10 years ago

Bump version

  • Property mode set to 100644
File size: 1.1 KB
Line 
1
2MODULE_DIR=federation
3DETER_DIR=deter
4
5GENERATED_MODS= ${MODULE_DIR}/fedd_services.py \
6                ${MODULE_DIR}/fedd_internal_services.py \
7                ${MODULE_DIR}/fedd_internal_services_types.py \
8                ${MODULE_DIR}/fedd_client.py \
9                ${MODULE_DIR}/fedd_internal_client.py \
10                ${MODULE_DIR}/fedd_internal_server.py \
11                ${MODULE_DIR}/fedd_internal_types.py \
12                ${MODULE_DIR}/fedd_services_types.py \
13                ${MODULE_DIR}/fedd_types.py \
14                ${MODULE_DIR}/fedd_server.py
15
16WSDL_FILES= ../wsdl/fedd.wsdl ../wsdl/fedd_types.xsd ../wsdl/fedd_internal.wsdl ../wsdl/topdl.xsd
17
18VERSION=4.10
19
20DISTFILES= dist/fedd-${VERSION}.tar.gz dist/deter-data-${VERSION}.tar.gz
21
22all:    ${GENERATED_MODS}
23
24
25${GENERATED_MODS}:      ${WSDL_FILES}
26        python ./compile_wsdl.py --complexType --output-dir=${MODULE_DIR} ../wsdl/fedd.wsdl
27        python ./compile_wsdl.py --complexType --output-dir=${MODULE_DIR} ../wsdl/fedd_internal.wsdl
28
29clean:
30        rm -f ${GENERATED_MODS} ${MODULE_DIR}/*.pyc ${DETER_DIR}/*.pyc *.pyc
31        rm -rf build dist fedd.egg-info MANIFEST
32
33dist:   ${DISTFILES}
34
35dist/fedd-${VERSION}.tar.gz: all
36        rm -f MANIFEST
37        python ./setup.py sdist
38
39dist/deter-data-${VERSION}.tar.gz: all
40        rm -f MANIFEST
41        python ./data-setup.py sdist
Note: See TracBrowser for help on using the repository browser.