1 # attempt to update at build-time
3 WSDLS = sfa.wsdl registry.wsdl slice-manager.wsdl aggregate.wsdl
7 # temporary: turn off wsdl generation as it is failing
11 registry.wsdl slice-manager.wsdl aggregate.wsdl sfa.wsdl:
15 PYTHONPATH=../ ./sfa2wsdl.py --registry > $@
18 PYTHONPATH=../ ./sfa2wsdl.py --slice-manager > $@
21 PYTHONPATH=../ ./sfa2wsdl.py --aggregate > $@
24 PYTHONPATH=../ ./sfa2wsdl.py --registry --slice-manager --aggregate > $@
27 #################### install
28 # DESTDIR set but the calling Makefile in ../
29 INSTALL_PATH=/var/www/html/wsdl
30 INSTALLED=$(foreach wsdl,$(WSDLS),$(DESTDIR)$(INSTALL_PATH)/$(wsdl))
34 $(DESTDIR)$(INSTALL_PATH):
35 install -d -m 0755 $(DESTDIR)$(INSTALL_PATH)
37 $(DESTDIR)$(INSTALL_PATH)/%: wsdl=$(notdir $@)
38 $(DESTDIR)$(INSTALL_PATH)/%: $(DESTDIR)$(INSTALL_PATH) %
39 install -c -m 0755 $(wsdl) $@
41 #################### clean
48 .PHONY: all clean install install-clean