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
e43b548b
Commit
e43b548b
authored
Aug 13, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for make distclean
parent
902981f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Makefile.am
Makefile.am
+2
-1
vlc-api.pl
vlc-api.pl
+6
-4
No files found.
Makefile.am
View file @
e43b548b
...
...
@@ -1065,7 +1065,8 @@ stamp-builtin: FORCE
@
if
test
!
-f
$@
;
then
printf
""
>
$@
;
fi
stamp-api
:
Makefile.in $(HEADERS_include) vlc-config vlc-api.pl src/misc/modules_builtin.h.in
cd
$(srcdir)
&&
cat
$(HEADERS_include)
| perl ./vlc-api.pl
(
cd
$(srcdir)
&&
cat
$(HEADERS_include)
)
|
\
(
pwd
;
top_srcdir
=
"
$(top_srcdir)
"
perl
$(top_srcdir)
/vlc-api.pl
)
touch
stamp-api
###############################################################################
...
...
vlc-api.pl
View file @
e43b548b
...
...
@@ -24,6 +24,8 @@
use
strict
;
my
$srcdir
=
$ENV
{'
top_srcdir
'};
#
# Reads to-be exported APIs
#
...
...
@@ -40,7 +42,7 @@ while (<STDIN>)
#
# Write header's header
#
open
my
$new_sym
,
'
>
include/
vlc_symbols.h.new
'
or
die
"
$!
";
open
my
$new_sym
,
'
> vlc_symbols.h.new
'
or
die
"
$!
";
print
{
$new_sym
}
"
/*
\n
"
.
"
* This file is automatically generated. DO NOT EDIT!
\n
"
.
...
...
@@ -69,7 +71,7 @@ my $changes = 0;
my
@API
;
my
@deprecated_API
;
open
my
$oldfd
,
'
< include/vlc_symbols.h
'
;
open
my
$oldfd
,
"
<
$srcdir
/include/vlc_symbols.h
"
;
while
(
<
$oldfd
>
)
{
if
(
/^ void \*(\w*)_deprecated;$/
)
...
...
@@ -175,10 +177,10 @@ close $new_sym;
#
if
(
$changes
!=
0
)
{
rename
'
include/vlc_symbols.h.new
',
'
include/vlc_symbols.h
'
;
rename
'
vlc_symbols.h.new
',
"
$srcdir
/include/vlc_symbols.h
"
;
print
"
$changes
API(s) changed.
\n
";
}
else
{
unlink
'
include/
vlc_symbols.h.new
';
unlink
'
vlc_symbols.h.new
';
}
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