Skip to content

Commit aa54f48

Browse files
committed
fix: update Makefile.am to conditionally set icons directory and handle missing icons for Emscripten builds
1 parent 7874914 commit aa54f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ EXTRA_DIST= \
1414
wadfile.png \
1515
convert-icon
1616

17-
iconsdir = $(prefix)/share/icons/hicolor/128x128/apps
18-
1917
# For Emscripten builds, skip hexen.png and strife.png if they don't exist
18+
@ENABLE_EMSCRIPTEN_TRUE@iconsdir = $(prefix)/share/icons/hicolor/128x128/apps
2019
@ENABLE_EMSCRIPTEN_TRUE@icons_DATA = @[email protected] \
2120
@ENABLE_EMSCRIPTEN_TRUE@ @[email protected] \
2221
@ENABLE_EMSCRIPTEN_TRUE@ @[email protected]
22+
@ENABLE_EMSCRIPTEN_FALSE@iconsdir = $(prefix)/share/icons/hicolor/128x128/apps
2323
@ENABLE_EMSCRIPTEN_FALSE@icons_DATA = @[email protected] \
2424
@ENABLE_EMSCRIPTEN_FALSE@ @[email protected] \
2525
@ENABLE_EMSCRIPTEN_FALSE@ @[email protected] \

0 commit comments

Comments
 (0)