Bug 923488 - Avoid binaries dependency on backend.mk when there isn't one. r=gps

This commit is contained in:
Mike Hommey 2013-10-04 22:29:15 +09:00
Родитель dbc307f15b
Коммит 47e2956ad0
3 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -1,6 +0,0 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

Просмотреть файл

@ -108,12 +108,12 @@ BINARIES_INSTALL_TARGETS := $(foreach category,$(INSTALL_TARGETS),$(if $(filter
# and with dependencies on the relevant backend files. # and with dependencies on the relevant backend files.
BINARIES_PP := $(MDDEPDIR)/binaries.pp BINARIES_PP := $(MDDEPDIR)/binaries.pp
$(BINARIES_PP): Makefile $(if $(EXTERNALLY_MANAGED_MAKE_FILE),,backend.mk) $(call mkdir_deps,$(MDDEPDIR)) $(BINARIES_PP): Makefile $(wildcard backend.mk) $(call mkdir_deps,$(MDDEPDIR))
@echo "$(strip $(foreach category,$(BINARIES_INSTALL_TARGETS),\ @echo "$(strip $(foreach category,$(BINARIES_INSTALL_TARGETS),\
$(foreach file,$($(category)_FILES) $($(category)_EXECUTABLES),\ $(foreach file,$($(category)_FILES) $($(category)_EXECUTABLES),\
$($(category)_DEST)/$(notdir $(file)): $(file)%\ $($(category)_DEST)/$(notdir $(file)): $(file)%\
)\ )\
))binaries: Makefile $(if $(EXTERNALLY_MANAGED_MAKE_FILE),,backend.mk)" | tr % '\n' > $@ ))binaries: Makefile $(wildcard backend.mk)" | tr % '\n' > $@
else else
binaries:: binaries::

Просмотреть файл

@ -108,12 +108,12 @@ BINARIES_INSTALL_TARGETS := $(foreach category,$(INSTALL_TARGETS),$(if $(filter
# and with dependencies on the relevant backend files. # and with dependencies on the relevant backend files.
BINARIES_PP := $(MDDEPDIR)/binaries.pp BINARIES_PP := $(MDDEPDIR)/binaries.pp
$(BINARIES_PP): Makefile $(if $(EXTERNALLY_MANAGED_MAKE_FILE),,backend.mk) $(call mkdir_deps,$(MDDEPDIR)) $(BINARIES_PP): Makefile $(wildcard backend.mk) $(call mkdir_deps,$(MDDEPDIR))
@echo "$(strip $(foreach category,$(BINARIES_INSTALL_TARGETS),\ @echo "$(strip $(foreach category,$(BINARIES_INSTALL_TARGETS),\
$(foreach file,$($(category)_FILES) $($(category)_EXECUTABLES),\ $(foreach file,$($(category)_FILES) $($(category)_EXECUTABLES),\
$($(category)_DEST)/$(notdir $(file)): $(file)%\ $($(category)_DEST)/$(notdir $(file)): $(file)%\
)\ )\
))binaries: Makefile $(if $(EXTERNALLY_MANAGED_MAKE_FILE),,backend.mk)" | tr % '\n' > $@ ))binaries: Makefile $(wildcard backend.mk)" | tr % '\n' > $@
else else
binaries:: binaries::