Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e0cc8b35
Commit
e0cc8b35
authored
Apr 09, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./toolbox: implemented toolbox --distclean to clean the tree without
having to bootstrap/configure/whatever.
parent
ee40e8a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
autotools/.cvsignore
autotools/.cvsignore
+1
-0
toolbox
toolbox
+28
-1
No files found.
autotools/.cvsignore
View file @
e0cc8b35
...
...
@@ -3,6 +3,7 @@ Makefile
Makefile.in
compile
config.guess
config.rpath
config.sub
depcomp
install-sh
...
...
toolbox
View file @
e0cc8b35
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.2
0 2003/04/06 23:21:13 massiot
Exp $
## $Id: toolbox,v 1.2
1 2003/04/09 16:05:58 sam
Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -27,6 +27,7 @@ recognized flags are:
--update-glade generate and fix Glade code
--update-glade2 generate and fix Glade 2 code
--update-flexml generate and fix flexml and flex code
--distclean "make distclean"
EOF
exit
1
}
...
...
@@ -72,6 +73,9 @@ case "$1" in
--update-glade2
|
--update-glade-2
|
--fix-glade2
)
action
=
glade2
;;
--distclean
)
action
=
distclean
;;
--help
)
help
;;
...
...
@@ -489,3 +493,26 @@ then
flex
-oflex
.c
-BLs
skin.l
fi
##
## Make distclean
##
if
test
"
${
action
}
"
=
"distclean"
then
set
-x
# a naive sanity check to make sure we are in a VLC tree
test
-f
vlc.spec
-a
-f
debian/rules
||
exit
1
# 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
'{}'
';'
(
cd
autotools
&&
find
.
-name
'[a-z]*'
-exec
rm
-f
'{}'
';'
)
(
cd
debian
&&
find
.
-type
d
-name
'[a-z]*'
-maxdepth
1
-exec
rm
-Rf
'{}'
';'
)
find msvc
-type
f
-name
'*.dsp'
-exec
rm
-f
'{}'
';'
find evc
-type
f
-name
'*.vcp'
-exec
rm
-f
'{}'
';'
#find . -type d -name '.deps' -exec rm -Rf '{}' ';'
# there's some more cruft all around
rm
-f
configure.ac config.h config.log config.status
rm
-f
vlc vlc-config Makefile Modules.am
rm
-Rf
autom4te.cache
rm
-f
mozilla/vlcintf.h mozilla/vlcintf.xpt
# FIXME: a lot of Makefiles are still there
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment