From 35e5a08057ab8953dcfaceab9f623c52be7a44e4 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Mon, 11 Mar 2019 00:36:30 +0000 Subject: =?UTF-8?q?Reduce=20entropy=20by=20sorting=20the=20output=20of=20a?= =?UTF-8?q?ll=20$(wildcard=20=E2=80=A6)=20calls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- turkish/releases/lenny/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'turkish') diff --git a/turkish/releases/lenny/Makefile b/turkish/releases/lenny/Makefile index 603ebad3223..1b2424da6a1 100644 --- a/turkish/releases/lenny/Makefile +++ b/turkish/releases/lenny/Makefile @@ -12,11 +12,11 @@ index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/release.wml \ releasenotes.$(LANGUAGE).html: releasenotes.wml $(TEMPLDIR)/release.wml \ $(ENGLISHDIR)/releases/lenny/release.data $(TEMPLDIR)/release_info.wml \ - $(wildcard $(HTMLDIR)/*/release-notes*) + $(sort $(wildcard $(HTMLDIR)/*/release-notes*)) installmanual.$(LANGUAGE).html: installmanual.wml $(TEMPLDIR)/release.wml \ $(ENGLISHDIR)/releases/lenny/release.data $(TEMPLDIR)/release_info.wml \ - $(wildcard $(HTMLDIR)/*/install*) + $(sort $(wildcard $(HTMLDIR)/*/install*)) $(ENGLISHSRCDIR)/$(CUR_DIR)/release.data: $(TEMPLDIR)/release_images.wml touch $@ -- cgit v1.2.3