]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - icons/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / icons / Makefile.am
index aef29f92785c82cc77924a802cf60b743549e38b..9896e6ef7091af7ca1ba2c8dcc0eda3939b9efbb 100644 (file)
@@ -1,49 +1,19 @@
-# $Id: Makefile.am,v 1.5 2001/11/30 15:27:13 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
-DISTCLEANFILES = $(ICON1) $(ICON2)
+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