Changeset d766703 in libbsdport


Ignore:
Timestamp:
Oct 12, 2009, 4:51:04 AM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
ab325ab
Parents:
383c07c
Message:

2009-09-12 Chris Johns <chrisj@…>

  • links.am: Fixed the links so they work with absolute paths.
Location:
bsd_eth_drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsd_eth_drivers/ChangeLog

    r383c07c rd766703  
     12009-09-12  Chris Johns <chrisj@rtems.org>
     2
     3        * links.am: Fixed the links so they work with absolute paths.
     4
    152009-08-15  Till Straumann <Till.Straumann@TU-Berlin.de>
    26
  • bsd_eth_drivers/links.am

    r383c07c rd766703  
    55        @touch $@
    66
     7# if [ "$(echo $@ | sed -e 's/^\/.*/yes/')" = "yes" ]; then
     8
    79$(LINKS):
    810        echo $@
    911        if [ ! -d $(dir $@) ] ; then mkdir -p $(dir $@); fi
    10         ln -s `echo $(dir $@) | sed -e 's%[^/]\+[/]\+%../%g'`$(srcdir)/$(notdir $@) $@
     12        if [ ! -e $@  ]; then \
     13          rm -rf $@ ; \
     14          if [ "`echo $(srcdir) | sed -e 's/^\/.*/yes/'`" = "yes" ]; then \
     15            ln -s `echo $(dir $@) | sed -e 's%[^/]\+[/]\+%%g'`$(srcdir)/$(notdir $@) $@ ; \
     16          else \
     17            ln -s `echo $(dir $@) | sed -e 's%[^/]\+[/]\+%../%g'`$(srcdir)/$(notdir $@) $@ ; \
     18          fi ; \
     19        fi
    1120
    1221
Note: See TracChangeset for help on using the changeset viewer.