config/tests/makefiles/autodeps/Makefile.in

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:484f8ee61d07
1 # -*- makefile -*-
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 # You can obtain one at http://mozilla.org/MPL/2.0/.
6 #
7
8 export STANDALONE_MAKEFILE=1
9 PYTHON ?= python
10 PYTEST = $(PYTHON) -E
11
12 # python -B not supported by older interpreters
13 export PYTHONDONTWRITEBYTECODE=1
14
15 include $(topsrcdir)/config/rules.mk
16
17 autotgt_tests = .deps/autotargets.mk.ts
18
19 tgts =\
20 .deps/.mkdir.done\
21 $(autotgt_tests)
22 $(NULL)
23
24 export MAKE
25 export .PYMAKE
26
27 ##------------------_##
28 ##---] TARGETS [---##
29 ##------------------_##
30 all::
31
32 check:: $(tgts)
33
34 # Only run unit test when autotargets.mk is modified
35 $(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk
36 $(PYTEST) $(srcdir)/check_mkdir.tpy
37 @$(TOUCH) $@

mercurial