Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
98806540
Commit
98806540
authored
Mar 10, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./toolbox: added --update-changelog flag.
parent
e73768a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
9 deletions
+30
-9
toolbox
toolbox
+30
-9
No files found.
toolbox
View file @
98806540
#! /bin/sh
#! /bin/sh
## toolbox for the VLC media player
## toolbox for the VLC media player
## $Id: toolbox,v 1.1
1 2003/03/03 16:49:14 gbazin
Exp $
## $Id: toolbox,v 1.1
2 2003/03/10 19:30:35 sam
Exp $
##
##
## Authors: Samuel Hocevar <sam@zoy.org>
## Authors: Samuel Hocevar <sam@zoy.org>
...
@@ -20,6 +20,7 @@ help()
...
@@ -20,6 +20,7 @@ help()
{
{
cat
<<
EOF
cat
<<
EOF
recognized flags are:
recognized flags are:
--update-changelog update the CVS changelog
--update-vc update Microsoft Visual Studio files
--update-vc update Microsoft Visual Studio files
--update-po update translation files
--update-po update translation files
--update-glade generate and fix Glade code
--update-glade generate and fix Glade code
...
@@ -30,28 +31,37 @@ EOF
...
@@ -30,28 +31,37 @@ EOF
###
###
### argument check
### argument check
###
###
do_help
=
yes
do_help
=
no
do_changelog
=
no
do_po
=
no
do_po
=
no
do_vc
=
no
do_vc
=
no
do_glade
=
no
do_glade
=
no
if
test
"
$1
"
=
""
then
do_help
=
yes
fi
while
test
$#
-gt
0
;
do
while
test
$#
-gt
0
;
do
case
"
$1
"
in
case
"
$1
"
in
--update-changelog
)
do_changelog
=
yes
;;
--update-vc
)
--update-vc
)
do_help
=
no
do_vc
=
yes
do_vc
=
yes
;;
;;
--update-po
)
--update-po
)
do_help
=
no
do_po
=
yes
do_po
=
yes
;;
;;
--update-glade
|
--fix-glade
)
--update-glade
|
--fix-glade
)
do_help
=
no
do_glade
=
yes
do_glade
=
yes
;;
;;
--help
)
do_help
=
yes
;;
*
)
*
)
echo
"
$0
: unknown option
$1
"
echo
"
$0
: unknown option
$1
"
do_help
=
yes
do_help
=
yes
help
;;
;;
esac
esac
shift
shift
...
@@ -65,6 +75,17 @@ then
...
@@ -65,6 +75,17 @@ then
help
help
fi
fi
##
## Update the CVS changelog
##
if
test
"
$do_changelog
"
=
"yes"
then
cvs2cl
--help
>
/dev/null 2>&1
||
exit
1
cvs2cl
--hide-filenames
--no-wrap
-w
--stdout
|
\
sed
-e
's/^[^0-9]/ /'
-e
's/^ *$//'
|
\
uniq
>
| ChangeLog
fi
##
##
## Update the MSVC project files
## Update the MSVC project files
##
##
...
...
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