-# $Id: Makefile.am,v 1.7 2003/02/21 20:52:51 hno Exp $
-#
+## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
-ICON1 = anthony-binhex.gif
-ICON2 = anthony-bomb.gif \
- anthony-box.gif \
- anthony-box2.gif \
- anthony-c.gif \
- anthony-compressed.gif \
- anthony-dir.gif \
- anthony-dirup.gif \
- anthony-dvi.gif \
- anthony-f.gif \
- anthony-image.gif \
- anthony-image2.gif \
- anthony-layout.gif \
- anthony-link.gif \
- anthony-movie.gif \
- anthony-pdf.gif \
- anthony-portal.gif \
- anthony-ps.gif \
- anthony-quill.gif \
- anthony-script.gif \
- anthony-sound.gif \
- anthony-tar.gif \
- anthony-tex.gif \
- anthony-text.gif \
- anthony-unknown.gif \
- anthony-xbm.gif \
- anthony-xpm.gif
+include $(top_srcdir)/icons/icon.list
-icondir = $(datadir)/icons
-icon_DATA = $(ICON1) $(ICON2)
-EXTRA_DIST = $(ICON1) $(ICON2) icons.shar
+icondir = $(datadir)/icons/silk
+icon_DATA = $(ICONS)
+EXTRA_DIST = $(ICONS) icon.list SN.png
DISTCLEANFILES =
-# The magic with ICON1,2 is to have a single dependency
-# for all of the icons.
-$(ICON2): $(ICON1)
-
-$(ICON1):
- @$(SHELL) "$(srcdir)/icons.shar"
-## @$(SHELL) -c "cd $(srcdir); $(SHELL) icons.shar"
-
-icons.shar:
- shar --no-timestamp $(ICON1) $(ICON2) > $@
-
-## DEFAULT_ICON_DIR = $(sysconfdir)/icons
+install-data-local: SN.png install-iconDATA
+ $(INSTALL_DATA) $(srcdir)/SN.png "$(DESTDIR)$(datadir)/icons/"
+uninstall-local:
+ $(RM) $(DESTDIR)$(datadir)/icons/SN.png