Changeset 6f924598bfb7bc020915329bce203f949b33dda5

Show
Ignore:
Timestamp:
01/17/05 20:37:38 (3 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1105990658 +0000
git-parent:

[db7ad6de24d7d7f005120ec180f3825b88fcd182]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1105990658 +0000
Message:

* Added the contrib system to MAKE_DIST
* cleaned up some alignment in configure --help

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    r6c0ceeb r6f92459  
    248248    cp $(distdir)/vlc.ebuild $(distdir)/vlc-${VERSION}.ebuild 
    249249    cd $(distdir) && srcdir=$(srcdir) $(srcdir)/toolbox --update-vc 
     250    distdir=$(distdir) srcdir=$(srcdir) $(srcdir)/toolbox --dist-contrib 
    250251 
    251252############################################################################### 
  • configure.ac

    r70a4f2e r6f92459  
    13051305then 
    13061306  AC_ARG_WITH(dvdread, 
    1307   [    --with-dvdread=PATH    libdvdread headers and libraries]) 
     1307  [    --with-dvdread=PATH   libdvdread headers and libraries]) 
    13081308  AC_ARG_WITH(dvdread-tree, 
    13091309  [    --with-dvdread-tree=PATH libdvdread tree for static linking]) 
     
    18591859  else 
    18601860    AC_ARG_WITH(ffmpeg-mp3lame, 
    1861       [    --with-ffmpeg-mp3lame if ffmpeg has been compiled with mp3lame support], 
     1861      [    --with-ffmpeg-mp3lame specify if ffmpeg has been compiled with mp3lame support], 
    18621862      [ 
    18631863        VLC_ADD_LDFLAGS([ffmpeg],[-lmp3lame]) ]) 
    18641864 
    18651865    AC_ARG_WITH(ffmpeg-faac, 
    1866       [    --with-ffmpeg-faac    if ffmpeg has been compiled with faac support], 
     1866      [    --with-ffmpeg-faac    specify if ffmpeg has been compiled with faac support], 
    18671867      [ 
    18681868        VLC_ADD_LDFLAGS([ffmpeg],[-lfaac]) ]) 
    18691869 
    18701870    AC_ARG_WITH(ffmpeg-dts, 
    1871       [    --with-ffmpeg-dts   if ffmpeg has been compiled with dts support], 
     1871      [    --with-ffmpeg-dts     specify if ffmpeg has been compiled with dts support], 
    18721872      [ 
    18731873        VLC_ADD_LDFLAGS([ffmpeg],[-ldts]) ]) 
    18741874 
    18751875    AC_ARG_WITH(ffmpeg-zlib, 
    1876       [    --with-ffmpeg-zlib   if ffmpeg has been compiled with zlib support], 
     1876      [    --with-ffmpeg-zlib    specify if ffmpeg has been compiled with zlib support], 
    18771877      [ 
    18781878        VLC_ADD_LDFLAGS([ffmpeg],[-lz]) ]) 
     
    24432443dnl 
    24442444AC_ARG_ENABLE(dirac, 
    2445 [  --enable-dirac         experimental dirac codec (default disabled)]) 
     2445[  --enable-dirac          experimental dirac codec (default disabled)]) 
    24462446if test "${enable_dirac}" = "yes"; then 
    24472447  AC_CHECK_HEADERS(libdirac_decoder/dirac_parser.h, [ 
     
    24782478if test "${enable_x264}" != "no"; then 
    24792479  AC_ARG_WITH(x264-tree, 
    2480     [    --with-x264-tree=PATH x264 tree for static linking ],[],[]) 
     2480    [    --with-x264-tree=PATH x264 tree for static linking ],[],[]) 
    24812481  if test "${with_x264_tree}" != "no" -a -n "${with_x264_tree}" 
    24822482  then 
     
    28052805dnl 
    28062806AC_ARG_ENABLE(libxml2, 
    2807   [  --enable-libxml2       libxml2 support (default enabled)]) 
     2807  [  --enable-libxml2        libxml2 support (default enabled)]) 
    28082808if test "${enable_libxml2}" != "no" 
    28092809then 
     
    37583758dnl 
    37593759AC_ARG_ENABLE(daap, 
    3760   [  --enable-daap       DAAP shares services discovery support (default enabled)]) 
     3760  [  --enable-daap            DAAP shares services discovery support (default enabled)]) 
    37613761if test "$enable_daap" != "no" 
    37623762then 
     
    38223822dnl 
    38233823AC_ARG_WITH(libgnutls-prefix, 
    3824           [  --with-libgnutls-prefix=PREFIX set prefix where libgnutls is installed], 
     3824          [    --with-libgnutls-prefix=PREFIX set prefix where libgnutls is installed], 
    38253825          libgnutls_config_prefix="$withval", libgnutls_config_prefix="") 
    38263826 
     
    38643864dnl 
    38653865AC_ARG_WITH(words, 
    3866   [  --with-words=endianness set endianness (big or little)]) 
     3866  [    --with-words=endianness set endianness (big or little)]) 
    38673867  case "${with_words}" in 
    38683868    big) 
  • toolbox

    r069e166 r6f92459  
    3030  --update-flexml         generate and fix flexml and flex code 
    3131  --distclean             "make distclean" on steroids 
     32  --dist-contrib          add the contrib dir to MAKE_DIST 
    3233  --make-woody <dir>      change distdir <dir> to a woody distdir 
    3334EOF 
     
    8586  --add-include) 
    8687    action=include 
     88    ;; 
     89  --dist-contrib) 
     90    action=contrib 
    8791    ;; 
    8892  --help) 
     
    581585 
    582586## 
     587## Add the extras/contrib dir to the distribution 
     588## 
     589if test "${action}" = "contrib" 
     590then 
     591  set -x 
     592  if test ! -d "${distdir}/extras" 
     593  then 
     594    mkdir "${distdir}/extras" 
     595  fi 
     596  if test ! -d "${distdir}/extras/contrib" 
     597  then 
     598    mkdir "${distdir}/extras/contrib" 
     599  fi 
     600  cp "${srcdir}/extras/contrib/Makefile" "${distdir}/extras/contrib/Makefile" 
     601  cp "${srcdir}/extras/contrib/README" "${distdir}/extras/contrib/README" 
     602  cp "${srcdir}/extras/contrib/bootstrap" "${distdir}/extras/contrib/bootstrap" 
     603  cp "${srcdir}/extras/contrib/change_prefix.sh" "${distdir}/extras/contrib/change_prefix.sh" 
     604  if test ! -d "${distdir}/extras/contrib/src" 
     605  then 
     606    mkdir "${distdir}/extras/contrib/src" 
     607  fi 
     608  cp "${srcdir}/extras/contrib/src/Makefile" "${distdir}/extras/contrib/src/Makefile" 
     609  cp "${srcdir}/extras/contrib/src/packages.mak" "${distdir}/extras/contrib/src/packages.mak" 
     610  if test ! -d "${distdir}/extras/contrib/src/Patches" 
     611  then 
     612    mkdir "${distdir}/extras/contrib/src/Patches" 
     613  fi 
     614  cp ${srcdir}/extras/contrib/src/Patches/* "${distdir}/extras/contrib/src/Patches/" 
     615fi 
     616 
     617## 
    583618##  Build a woody-friendly package 
    584619##