Changeset 5856:09a439a8012c in roaraudio


Ignore:
Timestamp:
01/09/13 12:17:54 (7 years ago)
Author:
phi
Branch:
default
Message:

only create symlinks to comp libs if they exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5788 r5856  
    5555        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do cp $$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_SOVERSION); done' 
    5656        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $$file.$(COMMON_SOVERSION) '$(DESTDIR)$(PREFIX_LIB)'/$$file; done' 
    57         sh -c 'set -e; cd lib; while read d t; do ln -fs '$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; done < ../symlinks.comp' 
     57        sh -c 'set -e; cd lib; while read d t; do [ -e '$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) ] && ln -fs '$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; done < ../symlinks.comp' 
    5858        sh -c 'set -e; cd lib; for file in *$(COMPBIN_SUFFIX); do b=`basename $$file $(COMPBIN_SUFFIX)`; cp $$file '$(DESTDIR)$(PREFIX_COMP_BINS)'/$$b; done' 
    5959        sh -c 'set -e; for file in include/roar* include/lib*; do cp $(cp_v) -r $$file '$(DESTDIR)$(PREFIX_INC)'/; done' 
Note: See TracChangeset for help on using the changeset viewer.