Simplify some logic in dist.mk
This commit is contained in:
parent
7628806997
commit
b12dfbb491
1 changed files with 5 additions and 6 deletions
11
mk/dist.mk
11
mk/dist.mk
|
@ -314,14 +314,13 @@ ifdef CFG_WINDOWSY_$(CFG_BUILD)
|
||||||
MAYBE_MINGW_TARBALLS=$(foreach host,$(CFG_HOST),dist/$(MINGW_PKG_NAME)-$(host).tar.gz)
|
MAYBE_MINGW_TARBALLS=$(foreach host,$(CFG_HOST),dist/$(MINGW_PKG_NAME)-$(host).tar.gz)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CFG_DISABLE_DOCS),)
|
ifeq ($(CFG_DISABLE_DOCS),)
|
||||||
dist-tar-bins: $(foreach host,$(CFG_HOST),dist/$(PKG_NAME)-$(host).tar.gz) $(MAYBE_MINGW_TARBALLS)
|
MAYBE_DOC_TARBALLS=$(foreach host,$(CFG_HOST),dist/$(DOC_PKG_NAME)-$(host).tar.gz)
|
||||||
else
|
|
||||||
dist-tar-bins: $(foreach host,$(CFG_HOST),dist/$(PKG_NAME)-$(host).tar.gz) \
|
|
||||||
$(foreach host,$(CFG_HOST),dist/$(DOC_PKG_NAME)-$(host).tar.gz) \
|
|
||||||
$(MAYBE_MINGW_TARBALLS)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist-tar-bins: $(foreach host,$(CFG_HOST),dist/$(PKG_NAME)-$(host).tar.gz) \
|
||||||
|
$(MAYBE_DOC_TARBALLS) $(MAYBE_MINGW_TARBALLS)
|
||||||
|
|
||||||
# Just try to run the compiler for the build host
|
# Just try to run the compiler for the build host
|
||||||
distcheck-tar-bins: dist-tar-bins
|
distcheck-tar-bins: dist-tar-bins
|
||||||
@$(call E, checking binary tarball)
|
@$(call E, checking binary tarball)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue