Permalink
Browse files

BUILD: Simplify print-dists rule

filter DIST_FILES_% matches variables such as DIST_FILES_DOCS_language that shouldn't be included in the output as a result of commit c9f2091.
  • Loading branch information...
ccawley2011 authored and sev- committed Aug 16, 2018
1 parent 1dd41fa commit ae9cb8aa7bf4d875880bd36649ab995a5905d4bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
@@ -114,7 +114,7 @@ endif

.PHONY: print-dists print-executables
print-dists:
@echo $(foreach V, $(filter DIST_FILES_%, $(.VARIABLES)), $($V))
@echo $(DIST_FILES_DOCS) $(DIST_FILES_THEMES) $(DIST_FILES_NETWORKING) $(DIST_FILES_ENGINEDATA) $(srcdir)/doc

print-executables:
@echo $(if $(DIST_EXECUTABLES),$(DIST_EXECUTABLES),$(EXECUTABLE) $(PLUGINS))

0 comments on commit ae9cb8a

Please sign in to comment.