diff options
author | Michael Natterer <mitch@imendio.com> | 2005-11-06 22:40:30 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2005-11-06 22:40:30 +0000 |
commit | 097038c3e15ad28a9f22531154220efd0c773f18 (patch) | |
tree | 720cc8a61fbf6795d9db9232092ce0c27d10c6f9 /gtk | |
parent | fc20f1ca8da818f5cc698a9a704d4914f68b883c (diff) | |
download | gtk+-097038c3e15ad28a9f22531154220efd0c773f18.tar.gz |
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.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/Makefile.am | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 74e555cec8..bb5b851aff 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -952,18 +952,27 @@ STOCK_ICONS = \ stock-icons/48/gtk-dialog-warning.png 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 ../..) \ + for i in 16 24; do \ + (cd stock-icons/$$i \ + && 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 |