Re: [PATCH] extract gifs from icons.shar at make time

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 9 Dec 2000 12:54:54 +1100

Take two

file starts on the next line
Index: icons/Makefile.in
===================================================================
RCS file: /cvsroot/squid/squid/icons/Makefile.in,v
retrieving revision 1.1.1.3.12.1
diff -u -r1.1.1.3.12.1 Makefile.in
--- icons/Makefile.in 2000/05/03 19:18:11 1.1.1.3.12.1
+++ icons/Makefile.in 2000/12/09 01:45:51
@@ -45,12 +45,15 @@
                  anthony-xbm.gif \
                  anthony-xpm.gif

-all:
+all: $(ICONS)

+$(ICONS):
+ @$(SHELL) -c "$(SHELL) $(srcdir)/icons.shar"
+
 icons.shar:
        shar --no-timestamp $(ICONS) > $@

-install: install-mkdirs anthony-xpm.gif
+install: all install-mkdirs
        @for f in $(ICONS); do \
                if test -f $(DEFAULT_ICON_DIR)/$$f ; then \
                        :; \
Received on Fri Dec 08 2000 - 18:46:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:03 MST