Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a2cc82cc
Commit
a2cc82cc
authored
Feb 08, 2011
by
Max TenEyck Woodbury
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c2man: Search sub-directories for headers too.
parent
c6aa255f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
c2man.pl
tools/c2man.pl
+9
-6
No files found.
tools/c2man.pl
View file @
a2cc82cc
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#
#
# TODO
# TODO
# Consolidate A+W pairs together, and only write one doc, without the suffix
# Consolidate A+W pairs together, and only write one doc, without the suffix
# Implement automatic docs
fo
structs/defines in headers
# Implement automatic docs
of
structs/defines in headers
# SGML gurus - feel free to smarten up the SGML.
# SGML gurus - feel free to smarten up the SGML.
# Add any other relevant information for the dll - imports etc
# Add any other relevant information for the dll - imports etc
# Should we have a special output mode for WineHQ?
# Should we have a special output mode for WineHQ?
...
@@ -882,7 +882,7 @@ sub process_comment($)
...
@@ -882,7 +882,7 @@ sub process_comment($)
$h_file
=~
s/\n//
;
$h_file
=~
s/\n//
;
if
(
$h_file
eq
""
)
if
(
$h_file
eq
""
)
{
{
$h_file
=
"Not de
fin
ed in a Wine header. The function is either undocumented, or missing from Wine."
$h_file
=
"Not de
clar
ed in a Wine header. The function is either undocumented, or missing from Wine."
}
}
else
else
{
{
...
@@ -2265,10 +2265,13 @@ while(defined($_ = shift @ARGV))
...
@@ -2265,10 +2265,13 @@ while(defined($_ = shift @ARGV))
/^L$/
&&
do
{
last
;
};
/^L$/
&&
do
{
last
;
};
/^w$/
&&
do
{
@opt_spec_file_list
=
(
@opt_spec_file_list
,
shift
@ARGV
);
last
;
};
/^w$/
&&
do
{
@opt_spec_file_list
=
(
@opt_spec_file_list
,
shift
@ARGV
);
last
;
};
s/^I//
&&
do
{
if
(
$_
ne
"."
)
{
s/^I//
&&
do
{
if
(
$_
ne
"."
)
{
my
$include
=
$_
.
"/*.h"
;
foreach
my
$include
(
`find $_ -type d ! -name tests`
)
{
$include
=~
s/\/\//\//g
;
$include
=~
s/\n//
;
my
$have_headers
=
`ls $include >/dev/null 2>&1`
;
$include
=
$include
.
"/*.h"
;
if
(
$?
>>
8
==
0
)
{
@opt_header_file_list
=
(
@opt_header_file_list
,
$include
);
}
$include
=~
s/\/\//\//g
;
my
$have_headers
=
`ls $include >/dev/null 2>&1`
;
if
(
$?
>>
8
==
0
)
{
@opt_header_file_list
=
(
@opt_header_file_list
,
$include
);
}
};
}
}
last
;
last
;
};
};
...
...
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