~manjiri/charms/precise/contrail-collector/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: M G
  • Date: 2014-03-11 15:55:44 UTC
  • Revision ID: manjiri@juniper.net-20140311155544-2gcpyt3rsem20g5z
sync and replicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make
2
2
PYTHON := /usr/bin/env python
 
3
CHSYNC ?= /home/manjiri/launchpad/charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py
3
4
 
4
5
clean:
5
6
        find -name "*.pyc" -delete
12
13
        make -C $* test
13
14
test: $(TEST)
14
15
 
 
16
SYNC=$(foreach subdir, $(SUBDIRS), sync/$(subdir))
 
17
sync/%:
 
18
        make -C $* sync CHSYNC=$(CHSYNC)
 
19
sync: $(SYNC)
 
20
 
 
21
LSYNC=$(foreach subdir, $(SUBDIRS), lsync/$(subdir))
 
22
lsync/%:
 
23
        make -C $* lsync
 
24
lsync: $(LSYNC)