git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deepen slicemgr cleanup
[sfa.git]
/
wsdl
/
Makefile
diff --git
a/wsdl/Makefile
b/wsdl/Makefile
index
e503449
..
78dc70d
100644
(file)
--- a/
wsdl/Makefile
+++ b/
wsdl/Makefile
@@
-1,6
+1,6
@@
# attempt to update at build-time
# attempt to update at build-time
-INTERFACES=sfa registry
slice-manager
aggregate
+INTERFACES=sfa registry aggregate
WSDLS = $(foreach interface,$(INTERFACES),$(interface).wsdl)
HTMLS = $(foreach interface,$(INTERFACES),$(interface).html)
WSDLS = $(foreach interface,$(INTERFACES),$(interface).wsdl)
HTMLS = $(foreach interface,$(INTERFACES),$(interface).html)
@@
-11,20
+11,17
@@
all: $(WSDLS) $(HTMLS)
#TEMPORARY_OFF = yes
ifdef TEMPORARY_OFF
#TEMPORARY_OFF = yes
ifdef TEMPORARY_OFF
-registry.wsdl
slice-manager.wsdl
aggregate.wsdl sfa.wsdl:
+registry.wsdl aggregate.wsdl sfa.wsdl:
touch $@
else
registry.wsdl: sfa2wsdl.py
PYTHONPATH=../ ./sfa2wsdl.py --registry > $@
touch $@
else
registry.wsdl: sfa2wsdl.py
PYTHONPATH=../ ./sfa2wsdl.py --registry > $@
-slice-manager.wsdl: sfa2wsdl.py
- PYTHONPATH=../ ./sfa2wsdl.py --slice-manager > $@
-
aggregate.wsdl: sfa2wsdl.py
PYTHONPATH=../ ./sfa2wsdl.py --aggregate > $@
sfa.wsdl: sfa2wsdl.py
aggregate.wsdl: sfa2wsdl.py
PYTHONPATH=../ ./sfa2wsdl.py --aggregate > $@
sfa.wsdl: sfa2wsdl.py
- PYTHONPATH=../ ./sfa2wsdl.py --registry --
slice-manager --
aggregate > $@
+ PYTHONPATH=../ ./sfa2wsdl.py --registry --aggregate > $@
endif
#################### install
endif
#################### install
@@
-43,7
+40,7
@@
$(DESTDIR)$(INSTALL_PATH)/%: $(DESTDIR)$(INSTALL_PATH) %
#################### clean
clean::
#################### clean
clean::
- rm -f
*wsdl
+ rm -f
$(WSDLS)
install-clean:
rm -f $(INSTALLED)
install-clean:
rm -f $(INSTALLED)
@@
-55,5
+52,13
@@
install-clean:
xsltproc $(XSLTFLAGS) wsdl2html.xsl $*.wsdl > $@ || rm $@
clean::
xsltproc $(XSLTFLAGS) wsdl2html.xsl $*.wsdl > $@ || rm $@
clean::
- rm -f *.html
+ rm -f $(HTMLS)
+
+
+backup:
+ $(foreach wsdl,$(WSDLS), cp $(wsdl) $(wsdl).bak;)
+ $(foreach html,$(HTMLS), cp $(html) $(html).bak;)
+diff:
+ $(foreach wsdl,$(WSDLS), diff $(wsdl) $(wsdl).bak;)
+ $(foreach html,$(HTMLS), diff $(html) $(html).bak;)