Changeset 4732:a03796b026cd in roaraudio


Ignore:
Timestamp:
01/19/11 18:12:17 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only install pc files if we have build them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r4724 r4732  
    4242install: prep-install 
    4343        cp $(cp_v) lib/roar*     '$(DESTDIR)$(PREFIX_BIN)' 
    44         cp $(cp_v) lib/*.pc      '$(DESTDIR)$(PREFIX_PC)' 
     44        set -e; if [ "$(CROSS_COMPILE)" = "false" -o "$(CROSS_COMPILE)" = "true" -a "$(EXEC_HELPER)" != "" ]; then cp $(cp_v) lib/*.pc      '$(DESTDIR)$(PREFIX_PC)'; fi 
    4545        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do cp $$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_SOVERSION); done' 
    4646        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $$file.$(COMMON_SOVERSION) '$(DESTDIR)$(PREFIX_LIB)'/$$file; done' 
     
    5353semi-install: prep-install 
    5454        sh -c 'set -e; for file in lib/roar*;    do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_BIN)'/; done' 
    55         sh -c 'set -e; for file in lib/*.pc;     do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_PC)'/; done' 
     55        sh -c 'set -e; if [ "$(CROSS_COMPILE)" = "false" -o "$(CROSS_COMPILE)" = "true" -a "$(EXEC_HELPER)" != "" ]; then for file in lib/*.pc;     do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_PC)'/; done; fi' 
    5656        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/; done' 
    5757        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_SOVERSION); done' 
Note: See TracChangeset for help on using the changeset viewer.