# $Id: Makefile.in,v 1.9.2.2 2001/01/16 21:12:30 hno Exp $
#
prefix		= @prefix@
exec_prefix	= @exec_prefix@
top_srcdir	= @top_srcdir@
bindir		= @bindir@
libexecdir      = @libexecdir@
sysconfdir	= @sysconfdir@
localstatedir   = @localstatedir@
srcdir		= @srcdir@
VPATH		= @srcdir@
SH		= @SH@
RM		= @RM@
SHELL		= @SH@

INSTALL         	= @INSTALL@
INSTALL_FILE    	= @INSTALL_DATA@
DEFAULT_ICON_DIR        = $(sysconfdir)/icons

ICONS		= anthony-binhex.gif \
		  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

all: $(ICONS)

$(ICONS):
	@$(SHELL) -c "$(SHELL) $(srcdir)/icons.shar"

icons.shar:
	shar --no-timestamp $(ICONS) > $@

install: install-mkdirs anthony-xpm.gif
	@for f in $(ICONS); do \
		if test -f $(DEFAULT_ICON_DIR)/$$f ; then \
			:; \
		else \
			echo "$(INSTALL_FILE) $$f $(DEFAULT_ICON_DIR)"; \
			$(INSTALL_FILE) $(srcdir)/$$f $(DEFAULT_ICON_DIR); \
		fi; \
	done

install-mkdirs:
	-@if test ! -d $(prefix); then \
		echo "mkdir $(prefix)"; \
		mkdir -p $(prefix); \
	fi
	-@if test ! -d $(sysconfdir); then \
		echo "mkdir $(sysconfdir)"; \
		mkdir -p $(sysconfdir); \
	fi
	-@if test ! -d $(DEFAULT_ICON_DIR); then \
		echo "mkdir $(DEFAULT_ICON_DIR)"; \
		mkdir -p $(DEFAULT_ICON_DIR); \
	fi

clean:


distclean: clean
	-rm -f Makefile
