~curtin-dev/curtin/artful

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Scott Moser
  • Date: 2017-05-19 20:57:03 UTC
  • mfrom: (1.1.48)
  • Revision ID: smoser@ubuntu.com-20170519205703-bg5mq3bjommvclcd
* New upstream snapshot.
  - Allow re-use of vmtest output 
  - Fix stacked storage configurations with iSCSI  (LP: #1683910)
  - vmtests: enable tests to apply storage config to validate clear_holders path 
  - mdadm_stop: Add retry and additional steps to halt a resync 
  - vmtests: Add Artful release and update classes 
  - clear-holders: mdadm use /proc/mdstat to wait for array to stop  (LP: #1682584)
  - uc16 curthooks: add 'network' key to config file  (LP: #1685000)
  - Doc and makefile updates for build and test on new systems. 
  - clear-holders: make bcache handler wait for device shutdown  (LP: #1680409)
  - vmtest: Use utf-8 and fix pseudo test collect_output 
  - vmtest: fix path to install log, and utilize the globally copied paths. 
  - Copy curtin install log into target.  (LP: #1684128)
  - vmtest: add in post-test log post-processing 
  - vmtest: update source.list test 
  - add recursive flag to do_umount, add --umount to block-meta 
  - load_command_environment: fix strict flag, and unit tests. 
  - block_meta: Attempt to mount by UUID= if possible  (LP: #1676991)
  - Make systems with root on bcache use root=UUID=.  (LP: #1680591)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        nosetests $(coverageopts) $(noseopts) tests/unittests
36
36
        nosetests3 $(coverageopts) $(noseopts) tests/unittests
37
37
 
38
 
docs:
39
 
        @which sphinx-build || \
40
 
                { echo "need sphinx-build. get it:"; \
41
 
                  echo "   apt-get install -qy python3-sphinx"; exit 1; } 1>&2
 
38
docs: check-doc-deps
42
39
        make -C doc html
43
40
 
 
41
check-doc-deps:
 
42
        @which sphinx-build && $(PYTHON) -c 'import sphinx_rtd_theme' || \
 
43
                { echo "Missing doc dependencies. Install with:"; \
 
44
                  pkgs="python3-sphinx-rtd-theme python3-sphinx"; \
 
45
                  echo sudo apt-get install -qy $$pkgs ; exit 1; }
 
46
 
44
47
# By default don't sync images when running all tests.
45
48
vmtest:
46
49
        nosetests3 $(noseopts) tests/vmtests
54
57
clean:
55
58
        rm -rf doc/_build
56
59
 
57
 
.PHONY: all clean test pyflakes pyflakes3 pep8 build style-check
 
60
.PHONY: all clean test pyflakes pyflakes3 pep8 build style-check check-doc-deps