config/tests/makefiles/autodeps/Makefile.in
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 25 Jun 2014 08:38:28 +0900
changeset 211709 df7a27d2bb7e0bf1f3bb369e14da2dd80428671b
parent 211406 59b0072d64aa5bebe2906b1778727d8172ac0f84
permissions -rw-r--r--
Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps

# -*- makefile -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#

export STANDALONE_MAKEFILE=1
PYTHON ?= python
PYTEST = $(PYTHON) -E

# python -B not supported by older interpreters
export PYTHONDONTWRITEBYTECODE=1

include $(topsrcdir)/config/rules.mk

autotgt_tests = .deps/autotargets.mk.ts

tgts =\
  .deps/.mkdir.done\
  $(autotgt_tests)
  $(NULL)

export MAKE

##------------------_##
##---]  TARGETS  [---##
##------------------_##
all::

check:: $(tgts)

# Only run unit test when autotargets.mk is modified
$(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk
	$(PYTEST) $(srcdir)/check_mkdir.tpy
	@$(TOUCH) $@