Skip to content

Commit ea1ded6

Browse files
committed
enable icons
1 parent c3344a5 commit ea1ded6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

gui/icons/Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SRCICONS := $(wildcard grass/*.png)
77
SRCFLAGS := $(wildcard flags/*.png)
88
ETCICONS := $(patsubst %,$(GUIDIR)/icons/%,$(SRCICONS) $(SRCICO) $(SRCFLAGS))
99
HTMLICONS := $(patsubst grass/%,$(HTMLDIR)/icons/%,$(SRCICONS))
10+
MDDIRICONS := $(patsubst grass/%,$(MDDIR)/source/icons/%,$(SRCICONS))
1011

1112
DSTDIRS = \
1213
$(GUIDIR) \
@@ -17,7 +18,10 @@ DSTDIRS = \
1718
HTMLDIRS = \
1819
$(HTMLDIR)/icons
1920

20-
default: $(ETCICONS) $(HTMLICONS)
21+
MDDIRS = \
22+
$(MDDIR)/source/icons
23+
24+
default: $(ETCICONS) $(HTMLICONS) $(MDDIRICONS)
2125
$(MKDIR) $(ARCH_DISTDIR)/share/applications
2226
$(INSTALL_DATA) grass.desktop $(ARCH_DISTDIR)/share/applications
2327
$(MKDIR) $(ARCH_DISTDIR)/share/icons/hicolor/8x8/apps
@@ -66,5 +70,8 @@ $(GUIDIR)/icons/%: % | $(DSTDIRS)
6670
$(HTMLDIR)/icons/%: grass/% | $(HTMLDIRS)
6771
$(INSTALL_DATA) $< $@
6872

69-
$(DSTDIRS) $(HTMLDIRS): %:
73+
$(MDDIR)/source/icons/%: grass/% | $(MDDIRS)
74+
$(INSTALL_DATA) $< $@
75+
76+
$(DSTDIRS) $(HTMLDIRS) $(MDDIRS): %:
7077
$(MKDIR) $@

0 commit comments

Comments
 (0)