~ubuntu-branches/ubuntu/saucy/charm-tools/saucy

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-07-23 13:52:08 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120723135208-55bdkt9jj6kthm47
Tags: 0.3+151-0ubuntu1
* New upstream release.
* build-dep on python-yaml so charm proof tests can be run.
* buid-dep on python-apt and python-cheetah to enable new upstream
  tests.
* d/charm-tools.install: Install etc/* to pick up bash completion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
mandir = $(DDIR)/share/man/man1
6
6
datadir = $(DDIR)/share/charm-tools
7
7
helperdir = $(DDIR)/share/charm-helper
 
8
confdir = $(DESTDIR)/etc
8
9
INSTALL = install
9
10
 
10
11
all:
16
17
        $(INSTALL) -t $(datadir) charm
17
18
        $(INSTALL) -d $(bindir)
18
19
        $(INSTALL) -d $(helperdir)
 
20
        $(INSTALL) -d $(confdir)/bash_completion.d
 
21
        $(INSTALL) misc/bash-completion $(confdir)/bash_completion.d/charm
19
22
        ln -sf $(datadir)/charm $(bindir)
20
23
        gzip $(mandir)/charm.1
21
24
        cp -rf scripts templates $(datadir)
25
28
        tests/helpers/helpers.sh || sh -x tests/helpers/helpers.sh timeout
26
29
        @echo Test shell helpers with bash
27
30
        bash tests/helpers/helpers.sh || bash -x tests/helpers/helpers.sh timeout
 
31
        @echo Test charm proof
 
32
        tests/proof/test.sh
 
33
        tests/create/test.sh