GTK 2.10 Makefile (need comments)



This section (sniped) from the Makefile fails due to the existence of the file
it is trying link with.  Looks like the intent was to use another directory
for the symbolic link?  This is not critical.  I have a temporary work around
while I get more feedback on what the best solution will be to correct this.

Thanks,  Richard
  

# need to copy the icons so that we can replace the generated ones with
# symlinks, even in the readonly srcdir case
stamp-icons: $(STOCK_ICONS)
        if [ ! -d stock-icons ]; then                                           \

# need to copy the icons so that we can replace the generated ones with
# symlinks, even in the readonly srcdir case
stamp-icons: $(STOCK_ICONS)
     if [ ! -d stock-icons ]; then                                           \
       cp -R $(srcdir)/stock-icons .;                                        \
       chmod -R u+w stock-icons;                                             \
     fi &&                                                                   \
     for i in 16 24; do                                                      \
        (cd stock-icons/$$i                                                  \
        && $(LN_S) -f gtk-go-forward-ltr.png gtk-go-back-rtl.png            \
        && $(LN_S) -f gtk-go-back-ltr.png gtk-go-forward-rtl.png            \
        && $(LN_S) -f gtk-goto-last-ltr.png gtk-goto-first-rtl.png          \
        && $(LN_S) -f gtk-goto-first-ltr.png gtk-goto-last-rtl.png          \
        && $(LN_S) -f gtk-media-rewind-ltr.png gtk-media-forward-rtl.png    \
        && $(LN_S) -f gtk-media-previous-ltr.png gtk-media-next-rtl.png     \
        && $(LN_S) -f gtk-media-next-ltr.png gtk-media-previous-rtl.png     \
        && $(LN_S) -f gtk-media-forward-ltr.png gtk-media-rewind-rtl.png    \
        && $(LN_S) -f gtk-floppy.png gtk-save.png)                          \
     done                                                                    \
     && touch stamp-icons





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]