50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
--- icons/Makefile.in.orig Mon Apr 19 03:18:09 1999
|
|
+++ icons/Makefile.in Fri Aug 4 21:44:03 2000
|
|
@@ -15,7 +15,10 @@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_FILE = @INSTALL_DATA@
|
|
-DEFAULT_ICON_DIR = $(sysconfdir)/icons
|
|
+
|
|
+DESTDIR =
|
|
+
|
|
+DEFAULT_ICON_DIR = $(prefix)/share/squid/icons
|
|
|
|
ICONS = anthony-binhex.gif \
|
|
anthony-bomb.gif \
|
|
@@ -52,26 +55,18 @@
|
|
|
|
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) $$f $(DEFAULT_ICON_DIR); \
|
|
- fi; \
|
|
+ echo "$(INSTALL_FILE) $$f $(DESTDIR)$(prefix)/share/examples/squid/icons"; \
|
|
+ $(INSTALL_FILE) $$f $(DESTDIR)$(prefix)/share/examples/squid/icons; \
|
|
done
|
|
|
|
install-mkdirs:
|
|
- -@if test ! -d $(prefix); then \
|
|
- echo "mkdir $(prefix)"; \
|
|
- mkdir $(prefix); \
|
|
- fi
|
|
- -@if test ! -d $(sysconfdir); then \
|
|
- echo "mkdir $(sysconfdir)"; \
|
|
- mkdir $(sysconfdir); \
|
|
+ -@if test ! -d $(DESTDIR)$(prefix); then \
|
|
+ echo "${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(prefix)"; \
|
|
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(prefix); \
|
|
fi
|
|
- -@if test ! -d $(DEFAULT_ICON_DIR); then \
|
|
- echo "mkdir $(DEFAULT_ICON_DIR)"; \
|
|
- mkdir $(DEFAULT_ICON_DIR); \
|
|
+ -@if test ! -d $(DESTDIR)$(prefix)/share/examples/squid/icons; then \
|
|
+ echo "${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(prefix)/share/examples/squid/icons"; \
|
|
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(prefix)/share/examples/squid/icons; \
|
|
fi
|
|
|
|
clean:
|