Changeset 2f0f35f59c9a82e05f658b160d36be7125028cdd

Show
Ignore:
Timestamp:
14/03/07 22:52:23 (2 years ago)
Author:
Christophe Mutricy <xtophe@videolan.org>
git-committer:
Christophe Mutricy <xtophe@videolan.org> 1173909143 +0000
git-parent:

[77e5b00d8518d55317fa26dc6f0aeb2e7bcf6241]

git-author:
Christophe Mutricy <xtophe@videolan.org> 1173909143 +0000
Message:

make the install dir configurable for win32

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/contrib/Makefile

    r6cd43af r2f0f35f  
    8585    rm -rf tmp 
    8686 
     87DISTDIR = usr/win32 
     88 
    8789package-win32: FORCE 
    8890    @if test -d tmp; then \ 
     
    9092        exit 1 ; \ 
    9193    fi 
    92     mkdir -p tmp/usr/win32 
     94    mkdir -p tmp/$(DISTDIR) 
    9395    tar cf - --dereference bin sbin include lib share/aclocal*\ 
    9496        share/autoconf* \ 
    9597        share/automake* share/gettext* gecko-sdk\ 
    96         | (cd tmp/usr/win32; tar xpf -) 
     98        | (cd tmp/$(DISTDIR); tar xpf -) 
    9799#kludge for live.com 
    98100    mkdir -p tmp/usr/win32/live.com 
    99101    for i in groupsock liveMedia UsageEnvironment BasicUsageEnvironment; do \ 
    100         mkdir -p  tmp/usr/win32/live.com/$$i/include; \ 
    101         cp -r src/live/$$i/include tmp/usr/win32/live.com/$$i; \ 
    102         cp src/live/$$i/lib$${i}.a  tmp/usr/win32/live.com/$$i; \ 
     102        mkdir -p  tmp/$(DISTDIR)/live.com/$$i/include; \ 
     103        cp -r src/live/$$i/include tmp/$(DISTDIR)/live.com/$$i; \ 
     104        cp src/live/$$i/lib$${i}.a  tmp/$(DISTDIR)/live.com/$$i; \ 
    103105    done; 
    104     ./change_prefix.sh tmp $(PREFIX) /usr/win32 
     106    ./change_prefix.sh tmp $(PREFIX) /$(DISTDIR) 
    105107#   Klugy kludge     
    106     (cd tmp/usr/win32/bin; rm -f *.exe; chmod a+x *) 
    107     (cd tmp; tar cf - usr/win32/) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2 
     108    (cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *) 
     109    (cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2 
    108110    rm -rf tmp 
    109111FORCE: