1 # attempt to update at build-time
3 WSDLS = sfa.wsdl registry.wsdl slice-manager.wsdl aggregate.wsdl
8 PYTHONPATH=../ ./gw2wsdl.py --registry > $@
11 PYTHONPATH=../ ./gw2wsdl.py --slice-manager > $@
14 PYTHONPATH=../ ./gw2wsdl.py --aggregate > $@
17 PYTHONPATH=../ ./gw2wsdl.py --registry --slice-manager --aggregate > $@
19 #################### install
20 # DESTDIR set but the calling Makefile in ../
21 INSTALL_PATH=/var/www/html/wsdl
22 INSTALLED=$(foreach wsdl,$(WSDLS),$(DESTDIR)$(INSTALL_PATH)/$(wsdl))
26 $(DESTDIR)$(INSTALL_PATH):
27 install -d -m 0755 $(DESTDIR)$(INSTALL_PATH)
29 $(DESTDIR)$(INSTALL_PATH)/%: wsdl=$(notdir $@)
30 $(DESTDIR)$(INSTALL_PATH)/%: $(DESTDIR)$(INSTALL_PATH) %
31 install -c -m 0755 $(wsdl) $@
33 #################### clean
40 .PHONY: all clean install install-clean