fixed rule to actually create the symlinks, erroring out if anything goes

2005-11-06  Michael Natterer  <mitch@imendio.com>

	* gtk/Makefile.am (icons): fixed rule to actually create the
	symlinks, erroring out if anything goes wrong.
This commit is contained in:
Michael Natterer 2005-11-06 22:40:30 +00:00 committed by Michael Natterer
parent fc20f1ca8d
commit 097038c3e1
3 changed files with 31 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2005-11-06 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am (icons): fixed rule to actually create the
symlinks, erroring out if anything goes wrong.
2005-11-06 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (build_cache): Can't rename a file if the

View File

@ -1,3 +1,8 @@
2005-11-06 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am (icons): fixed rule to actually create the
symlinks, erroring out if anything goes wrong.
2005-11-06 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (build_cache): Can't rename a file if the

View File

@ -954,16 +954,25 @@ STOCK_ICONS = \
icons:
for i in 16 24; do \
(cd stock-icons/$$i \
$(LN_S) gtk-go-forward-ltr.png gtk-go-back-rtl.png \
$(LN_S) gtk-go-back-ltr.png gtk-go-forward-rtl.png \
$(LN_S) gtk-goto-first-ltr.png gtk-goto-last-rtl.png \
$(LN_S) gtk-goto-last-ltr.png gtk-goto-first-rtl.png \
$(LN_S) gtk-media-forward-ltr.png gtk-media-rewind-rtl.png \
$(LN_S) gtk-media-rewind-ltr.png gtk-media-forward-rtl.png \
$(LN_S) gtk-media-next-ltr.png gtk-media-previous-rtl.png \
$(LN_S) gtk-media-previous-ltr.png gtk-media-next-rtl.png \
$(LN_S) gtk-floppy.png gtk-save.png \
cd ../..) \
&& rm -f gtk-go-back-rtl.png \
&& $(LN_S) gtk-go-forward-ltr.png gtk-go-back-rtl.png \
&& rm -f gtk-go-forward-rtl.png \
&& $(LN_S) gtk-go-back-ltr.png gtk-go-forward-rtl.png \
&& rm -f gtk-goto-last-rtl.png \
&& $(LN_S) gtk-goto-first-ltr.png gtk-goto-last-rtl.png \
&& rm -f gtk-goto-first-rtl.png \
&& $(LN_S) gtk-goto-last-ltr.png gtk-goto-first-rtl.png \
&& rm -f gtk-media-rewind-rtl.png \
&& $(LN_S) gtk-media-forward-ltr.png gtk-media-rewind-rtl.png \
&& rm -f gtk-media-forward-rtl.png \
&& $(LN_S) gtk-media-rewind-ltr.png gtk-media-forward-rtl.png \
&& rm -f gtk-media-previous-rtl.png \
&& $(LN_S) gtk-media-next-ltr.png gtk-media-previous-rtl.png \
&& rm -f gtk-media-next-rtl.png \
&& $(LN_S) gtk-media-previous-ltr.png gtk-media-next-rtl.png \
&& rm -f gtk-save.png \
&& $(LN_S) gtk-floppy.png gtk-save.png \
&& cd ../..) \
done
gtkbuiltincache.h: @REBUILD@ gtk-update-icon-cache$(EXEEXT) icons