Changeset e0cc8b35f180ee576604ef69c92f6f2c0e23d8a9

Show
Ignore:
Timestamp:
09/04/03 18:05:58 (6 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1049904358 +0000
git-parent:

[ee40e8a760706fec19803191b3143534b9a3a14b]

git-author:
Sam Hocevar <sam@videolan.org> 1049904358 +0000
Message:
  • ./toolbox: implemented toolbox --distclean to clean the tree without
    having to bootstrap/configure/whatever.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • autotools/.cvsignore

    r453fe58 re0cc8b3  
    44compile 
    55config.guess 
     6config.rpath 
    67config.sub 
    78depcomp 
  • toolbox

    r11eecc2 re0cc8b3  
    22 
    33##  toolbox for the VLC media player 
    4 ##  $Id: toolbox,v 1.20 2003/04/06 23:21:13 massiot Exp $ 
     4##  $Id: toolbox,v 1.21 2003/04/09 16:05:58 sam Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    2828  --update-glade2               generate and fix Glade 2 code 
    2929  --update-flexml               generate and fix flexml and flex code 
     30  --distclean                   "make distclean" 
    3031EOF 
    3132  exit 1 
     
    7273  --update-glade2|--update-glade-2|--fix-glade2) 
    7374    action=glade2 
     75    ;; 
     76  --distclean) 
     77    action=distclean 
    7478    ;; 
    7579  --help) 
     
    491495fi 
    492496 
     497## 
     498##  Make distclean 
     499## 
     500if test "${action}" = "distclean" 
     501then 
     502  set -x 
     503  # a naive sanity check to make sure we are in a VLC tree 
     504  test -f vlc.spec -a -f debian/rules || exit 1 
     505  # let's rock! 
     506  find . -type f '(' -name '*.[oa]' -o -name '*.so' -o -name '*.sl' -o -name '*.dylib' -o -name '*.dll' -o -name .dirstamp -o -name Makefile.in -o -name 'stamp-h*' -o -name '*~' -o -name '*.bak' -o -name '*.moc.cpp' ')' -exec rm -f '{}' ';' 
     507  (cd autotools && find . -name '[a-z]*' -exec rm -f '{}' ';') 
     508  (cd debian && find . -type d -name '[a-z]*' -maxdepth 1 -exec rm -Rf '{}' ';') 
     509  find msvc -type f -name '*.dsp' -exec rm -f '{}' ';' 
     510  find evc -type f -name '*.vcp' -exec rm -f '{}' ';' 
     511  #find . -type d -name '.deps' -exec rm -Rf '{}' ';' 
     512  # there's some more cruft all around 
     513  rm -f configure.ac config.h config.log config.status 
     514  rm -f vlc vlc-config Makefile Modules.am 
     515  rm -Rf autom4te.cache 
     516  rm -f mozilla/vlcintf.h mozilla/vlcintf.xpt 
     517  # FIXME: a lot of Makefiles are still there 
     518fi 
     519