~doanac/ubuntu-ci-services-itself/json-jsonp-status

« back to all changes in this revision

Viewing changes to charms/precise/rabbitmq-worker/Makefile

  • Committer: Chris Johnston
  • Author(s): Evan Dandrea
  • Date: 2014-02-28 19:22:57 UTC
  • mfrom: (262.2.15 phase0-ppa)
  • Revision ID: chris_johnston-20140228192257-on53obzkh3gfxv09
[r=Andy Doan, PS Jenkins bot] - Bring charmhelpers into the rabbitmq-worker charm.
- Use PPA versions of the dependencies for the bsb, image builder, and test runner components. 1283595,1283747 from Evan Dandrea

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PWD := $(shell pwd)
 
2
SOURCEDEPS_DIR ?= $(shell dirname $(PWD))/.sourcecode
 
3
PYTHON := /usr/bin/env python
 
4
CONFIGMANAGER := $(PWD)/bin/cm.py
 
5
 
 
6
 
 
7
sourcedeps: $(PWD)/config-manager.txt clean
 
8
        @echo Updating source dependencies...
 
9
        @$(PYTHON) cm.py -c $(PWD)/config-manager.txt \
 
10
                -p $(SOURCEDEPS_DIR) \
 
11
                -t $(PWD)
 
12
        @$(PYTHON) build/charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
 
13
                -c charm-helpers.yaml \
 
14
                -b build/charm-helpers \
 
15
                -d hooks/charmhelpers
 
16
        @echo Do not forget to commit the updated files if any.
 
17
        #@cd $(PWD)/build/charm-helpers; \
 
18
                #@$(PYTHON) setup.py install --install-purelib=$(PWD)/lib \
 
19
                        #--install-scripts=$(PWD)/lib/bin
 
20
 
 
21
clean:
 
22
        rm -fr hooks/charmhelpers build/charm-helpers ../.sourcecode
 
23
 
 
24
.PHONY: sourcedeps