author Mike Hommey <>
Wed, 10 Feb 2016 13:38:31 +0900
changeset 284046 51029f4d82d3dcb3ca3aa8cab60bf1ed29152846
parent 281927 296dab0a417b8b9822804a82dabef36609185331
permissions -rw-r--r--
Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal The behavior is not entirely idempotent (most notably for buildconfig.html), but this can be improved later if necessary. It is idempotent where it matters. This allows to get rid of config/makefiles/ and its uses.

# 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

include $(topsrcdir)/config/

# This is so hacky. Waiting on bug 988938.
addondir = $(srcdir)/tests/addons
testdir = $(topobjdir)/_tests/xpcshell/toolkit/components/telemetry/tests/unit

misc:: $(call mkdir_deps,$(testdir))
	for dir in $(addondir)/*; do \
	  base=`basename $$dir`; \
	  (cd $$dir && zip -qr $(testdir)/$$base.xpi *); \