TOPDIR = ../../..
include $(TOPDIR)/src/include/builddefs

ICOFILES = $(shell echo *.ico)
PNGFILES = $(shell echo *.png)
SVGFILES = $(shell echo *.svg)
LSRCFILES = $(ICOFILES) $(PNGFILES) $(SVGFILES)
ICONLINKS = pcpicon.png pmcharticon.png pmtimeicon.png stepfwd_on.png system-search.png
INSTFILES = $(shell echo $(ICONLINKS) $(ICOFILES) $(PNGFILES) | tr ' ' '\n' | $(SORT) -u)
LDIRT = $(ICONLINKS)

default: iconlinks

include $(BUILDRULES)

install: default
	$(INSTALL) -m 755 -d $(PKG_BOOKS_DIR)/html/images
	$(INSTALL) -m 644 $(INSTFILES) $(PKG_BOOKS_DIR)/html/images
