aboutsummaryrefslogtreecommitdiffstats
path: root/english/Makefile
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2019-03-11 00:36:30 +0000
committerCyril Brulebois <kibi@debian.org>2019-03-11 01:33:54 +0000
commit35e5a08057ab8953dcfaceab9f623c52be7a44e4 (patch)
treefe1626fe132cc5f38dc6c94269f2008fbca0381e /english/Makefile
parente0496a1974f81c11d576b507c2c2a1d39538d44e (diff)
Reduce entropy by sorting the output of all $(wildcard …) calls
Introducing a function (i.e. sorted_wildcard) seemed to make sense at first but it would need to be defined in all Makefiles, before getting used. That's why a “replace all occurrences” approach was preferred in the end. Many occurrences aren't going to make a difference anyway, because they are about documenting target dependencies. But replacing everything means it's easier to check later on, in case entropy comes back. This file needs a slightly different diff because the Makefile snippet is embedded in a Perl script: english/security/parse-advisory.pl
Diffstat (limited to 'english/Makefile')
-rw-r--r--english/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/english/Makefile b/english/Makefile
index 3c37fa529f2..f564365680f 100644
--- a/english/Makefile
+++ b/english/Makefile
@@ -29,9 +29,9 @@ DESTSEARCHXML = $(patsubst %.xml,$(HTMLDIR)/%.xml,$(SEARCHXML))
endif
$(INDEXPAGE): index.wml $(TEMPLDIR)/mainpage.wml $(GETTEXTDEP) \
- $(wildcard News/$(CUR_YEAR)/[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml) \
- $(wildcard News/$(CUR_YEAR)/[0-9]*.title) \
- $(wildcard security/$(CUR_YEAR)/dsa-[0-9]*.wml) $(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml) \
+ $(sort $(wildcard News/$(CUR_YEAR)/[0-9]*.wml)) $(sort $(wildcard $(ENGLISHSRCDIR)/News/$(CUR_YEAR)/[0-9]*.wml)) \
+ $(sort $(wildcard News/$(CUR_YEAR)/[0-9]*.title)) \
+ $(sort $(wildcard security/$(CUR_YEAR)/dsa-[0-9]*.wml)) $(sort $(wildcard $(ENGLISHSRCDIR)/security/$(CUR_YEAR)/dsa-[0-9]*.wml)) \
$(TEMPLDIR)/ctime.wml $(TEMPLDIR)/recent_list.wml $(TEMPLDIR)/languages.wml \
$(TEMPLDIR)/release_info.wml $(TEMPLDIR)/release_images.wml
ifeq "$(LANGUAGE)" "zh"

© 2014-2024 Faster IT GmbH | imprint | privacy policy