~salvatore-orlando/neutron/quantum-api

« back to all changes in this revision

Viewing changes to quantum/plugins/openvswitch/Makefile

  • Committer: Salvatore Orlando
  • Date: 2011-06-24 13:52:17 UTC
  • mfrom: (6.1.14 quantum-trunk)
  • Revision ID: salvatore.orlando@eu.citrix.com-20110624135217-h6uz1zu3fxxpf3wt
Merge trunk
Resolving conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
QUANTUM_PATH=../../../
 
2
 
 
3
# TODO(bgh): DIST_DIR and target for plugin
 
4
 
 
5
AGENT_DIST_DIR=ovs_quantum_agent
 
6
AGENT_DIST_TARBALL=ovs_quantum_agent.tgz
 
7
 
 
8
agent-dist: distclean
 
9
        mkdir $(AGENT_DIST_DIR)
 
10
        cp agent/*.py $(AGENT_DIST_DIR)
 
11
        cp agent/*.sh $(AGENT_DIST_DIR)
 
12
        cp README $(AGENT_DIST_DIR)
 
13
        cp ovs_quantum_plugin.ini $(AGENT_DIST_DIR)
 
14
        tar -zcvf $(AGENT_DIST_TARBALL) $(AGENT_DIST_DIR)/
 
15
        @echo "Agent tarball created: $(AGENT_DIST_TARBALL)"
 
16
        @echo "See README for installation details"
 
17
 
 
18
all:
 
19
 
 
20
clean:
 
21
        $(find . -name *.pyc | xargs rm)
 
22
 
 
23
distclean:
 
24
        -rm -rf $(AGENT_DIST_DIR)
 
25
        -rm -f $(AGENT_DIST_TARBALL)
 
26
 
 
27
check:
 
28
        PYTHONPATH=$(QUANTUM_PATH):. python ovs_quantum_plugin.py
 
29
 
 
30
PHONY: agent-dist check clean distclean