Commit 05edb16c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't delete SVN-tracked files with --distclean (closes #251)

parent 65bbd83c
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
## toolbox for the VLC media player ## toolbox for the VLC media player
## $Id$ ## $Id$
## ##
## Copyright (C) 2005 the VideoLAN team
##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
## Rmi Denis-Courmont <rem # videolan.org>
### ###
### Get a sane environment, just in case ### Get a sane environment, just in case
...@@ -537,9 +540,9 @@ then ...@@ -537,9 +540,9 @@ then
# a naive sanity check to make sure we are in a VLC tree # a naive sanity check to make sure we are in a VLC tree
test -f vlc.spec.mdk -a -f debian/rules || exit 1 test -f vlc.spec.mdk -a -f debian/rules || exit 1
# let's rock! # let's rock!
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 '{}' ';' find . -type f '(' -name '*.[oa]' -o -name '*.so' -o -name '*.sl' -o -name '*.dylib' -o -name '*.dll' -o -name .dirstamp -o '(' '(' ! -path '\./doc/developer/Makefile\.in' ')' -a -name Makefile.in ')' -o -name 'stamp-h*' -o -name '*~' -o -name '*.bak' -o -name '*.moc.cpp' ')' -exec rm -f '{}' ';'
(cd autotools && find . -name '[a-z]*' -maxdepth 1 -exec rm -f '{}' ';') (cd autotools && find . -name '[a-z]*' -maxdepth 1 -exec rm -f '{}' ';')
(cd debian && find . -type d -name '[a-z]*' -maxdepth 1 -exec rm -Rf '{}' ';') (cd debian && find . -type d '(' -name '[a-z]*' ! -name 'patches' ')' -maxdepth 1 -exec rm -Rf '{}' ';')
find msvc -type f -name '*.dsp' -exec rm -f '{}' ';' find msvc -type f -name '*.dsp' -exec rm -f '{}' ';'
find evc -type f -name '*.vcp' -exec rm -f '{}' ';' find evc -type f -name '*.vcp' -exec rm -f '{}' ';'
#find . -type d -name '.deps' -exec rm -Rf '{}' ';' #find . -type d -name '.deps' -exec rm -Rf '{}' ';'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment