Skip to content

Commit 4b63abf

Browse files
authored
Merge pull request #2310 from wilzbach/images-wildcard
posix.mak: Use a wildcard for including images
2 parents 65ee677 + e060fac commit 4b63abf

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed
File renamed without changes.

posix.mak

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -280,26 +280,9 @@ DDOC_BIN_DMD:=$(DDOC_BIN) --compiler=$(DMD)
280280
# Set to 1 in the command line to minify css files
281281
CSS_MINIFY=
282282

283-
ORGS_USING_D=$(wildcard images/orgs-using-d/*)
284-
IMAGES=favicon.ico $(ORGS_USING_D) $(addprefix images/, \
285-
d002.ico \
286-
$(addprefix compiler-, dmd.png gdc.svg ldc.png) \
287-
$(addsuffix .svg, icon_minus icon_plus hamburger dlogo faster-aa-1 faster-gc-1 \
288-
qualifier-combinations qualifier-conversions) \
289-
$(addsuffix .png, archlinux_logo apple_logo \
290-
centos_logo chocolatey_logo \
291-
d3 dconf_logo_2018 debian_logo dlogo docker_logo \
292-
fedora_logo freebsd_logo gentoo_logo homebrew_logo \
293-
index-banner nix_logo \
294-
opensuse_logo ubuntu_logo windows_logo pattern github-ribbon \
295-
dlogo_opengraph snapcraft_logo \
296-
$(addprefix ddox/, alias class enum enummember function \
297-
inherited interface module package private property protected \
298-
struct template variable)) \
299-
$(addsuffix .gif, c1 cpp1 d4 d5 dmlogo dmlogo-smaller globe style3 \
300-
pen) \
301-
$(addsuffix .jpg, dman-error dman-rain dman-time tdpl))
302-
283+
IMAGES=favicon.ico images/d002.ico $(filter-out $(wildcard images/*_hq.*) images/dlogo_2015.svg, \
284+
$(wildcard images/*.jpg images/*.png images/*.svg images/*.gif)) \
285+
$(wildcard images/ddox/* images/orgs-using-d/*)
303286
JAVASCRIPT=$(addsuffix .js, $(addprefix js/, \
304287
codemirror-compressed dlang ddox listanchors platform-downloads run \
305288
run_examples show_contributors jquery-1.7.2.min))

0 commit comments

Comments
 (0)