~ubuntu-branches/ubuntu/precise/ceph/precise-proposed

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2011-04-25 10:09:05 UTC
  • mfrom: (1.1.3 upstream) (0.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110425100905-exm7dfvi2v5ick02
Tags: 0.27-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AUTOMAKE_OPTIONS = gnu
2
2
EXTRA_DIST = autogen.sh ceph.spec.in
3
 
SUBDIRS = src man
4
 
 
 
3
# the "." here makes sure check-local builds gtest before it is used
 
4
SUBDIRS = . src qa man
 
5
 
 
6
EXTRA_DIST += \
 
7
        src/test/run-cli-tests \
 
8
        src/test/cli \
 
9
        src/test/downloads \
 
10
        udev/50-rbd.rules
 
11
check-local:
 
12
#       Build gtest before we build our own tests. Doing this instead
 
13
#       of SUBDIRS because with that, gtest's own tests would be run
 
14
#       and that would slow us down.
 
15
        @echo "Making lib/libgtest.a lib/libgtest_main.a in src/gtest"
 
16
        @cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la
 
17
 
 
18
#       exercise cli tools
 
19
        $(srcdir)/src/test/run-cli-tests '$(top_builddir)/src/test'
 
20
 
 
21
# "make distclean" both runs this and recurses into src/gtest, if
 
22
# gtest is in DIST_SUBDIRS. Take extra care to not fail when
 
23
# effectively cleaned twice.
 
24
clean-local:
 
25
        @if test -e src/gtest/Makefile; then \
 
26
          echo "Making clean in src/gtest"; \
 
27
          cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) clean; \
 
28
        fi
 
29
 
 
30
        @rm -rf src/test/virtualenv