~pwlars/uci-engine/rabbit-adbworker-charm

« back to all changes in this revision

Viewing changes to charms/precise/python-django/Makefile

  • Committer: Ubuntu CI Bot
  • Author(s): Celso Providelo
  • Date: 2014-05-23 14:49:24 UTC
  • mfrom: (505.1.6 uci-charms-staging)
  • Revision ID: ubuntu_ci_bot-20140523144924-99fxwu9go17x37rb
[r=PS Jenkins bot, Evan Dandrea] Updating our charms to cope with prodstack guidelines  from Celso Providelo

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