Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
623e9e66
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
623e9e66
编写于
8月 14, 2002
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change how pod2man is handled: explicitly invoke '$PERL' only when
needed, call 'pod2man' directly if this works PR: 217
上级
90f5a2b6
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
12 deletion
+16
-12
Makefile.org
Makefile.org
+3
-3
util/pod2mantest
util/pod2mantest
+13
-9
未找到文件。
Makefile.org
浏览文件 @
623e9e66
...
...
@@ -743,13 +743,13 @@ install_docs:
$(INSTALL_PREFIX)$(MANDIR)
/man3
\
$(INSTALL_PREFIX)$(MANDIR)
/man5
\
$(INSTALL_PREFIX)$(MANDIR)
/man7
@
pod2man
=
`
cd
util
;
./pod2mantest ignore
`
;
\
@
pod2man
=
"
`
cd
util
;
./pod2mantest
$(PERL)
`
"
;
\
for
i
in
doc/apps/
*
.pod
;
do
\
fn
=
`
basename
$$
i .pod
`
;
\
if
[
"
$$
fn"
=
"config"
]
;
then
sec
=
5
;
else
sec
=
1
;
fi
;
\
echo
"installing man
$$
sec/
`
basename
$$
i .pod
`
.
$$
sec"
;
\
(
cd
`
$(PERL)
util/dirname.pl
$$
i
`
;
\
sh
-c
"
$
(PERL)
$
$
pod2man
\
sh
-c
"
$$
pod2man
\
--section=
$$
sec --center=OpenSSL
\
--release=
$(VERSION)
`
basename
$$
i
`
"
)
\
>
$(INSTALL_PREFIX)$(MANDIR)
/man
$$
sec/
`
basename
$$
i .pod
`
.
$$
sec
;
\
...
...
@@ -759,7 +759,7 @@ install_docs:
if
[
"
$$
fn"
=
"des_modes"
]
;
then
sec
=
7
;
else
sec
=
3
;
fi
;
\
echo
"installing man
$$
sec/
`
basename
$$
i .pod
`
.
$$
sec"
;
\
(
cd
`
$(PERL)
util/dirname.pl
$$
i
`
;
\
sh
-c
"
$
(PERL)
$
$
pod2man
\
sh
-c
"
$$
pod2man
\
--section=
$$
sec --center=OpenSSL
\
--release=
$(VERSION)
`
basename
$$
i
`
"
)
\
>
$(INSTALL_PREFIX)$(MANDIR)
/man
$$
sec/
`
basename
$$
i .pod
`
.
$$
sec
;
\
...
...
util/pod2mantest
浏览文件 @
623e9e66
...
...
@@ -12,7 +12,8 @@
IFS
=
:
if
test
"
$OSTYPE
"
=
"msdosdjgpp"
;
then
IFS
=
";"
;
fi
try_without_dir
=
false
try_without_dir
=
true
# First we try "pod2man", then "$dir/pod2man" for each item in $PATH.
for
dir
in
dummy
${
IFS
}
$PATH
;
do
if
[
"
$try_without_dir
"
=
true
]
;
then
...
...
@@ -30,9 +31,16 @@ for dir in dummy${IFS}$PATH; do
if
[
!
"
$pod2man
"
=
''
]
;
then
failure
=
none
if
"
$pod2man
"
--section
=
1
--center
=
OpenSSL
--release
=
dev pod2mantest.pod | fgrep OpenSSL
>
/dev/null
;
then
:
else
failure
=
BasicTest
fi
if
"
$pod2man
"
--section
=
1
--center
=
OpenSSL
--release
=
dev pod2mantest.pod |
grep
'^MARKER - '
>
/dev/null 2>&1
;
then
failure
=
MultilineTest
if
[
"
$failure
"
=
none
]
;
then
if
"
$pod2man
"
--section
=
1
--center
=
OpenSSL
--release
=
dev pod2mantest.pod |
grep
'^MARKER - '
>
/dev/null
;
then
failure
=
MultilineTest
fi
fi
...
...
@@ -46,9 +54,5 @@ for dir in dummy${IFS}$PATH; do
done
echo
"No working pod2man found. Consider installing a new version."
>
&2
if
[
"
$1
"
=
ignore
]
;
then
echo
"As a workaround, we'll use a bundled old copy of pod2man.pl."
>
&2
echo
"../../util/pod2man.pl"
exit
0
fi
exit
1
echo
"As a workaround, we'll use a bundled old copy of pod2man.pl."
>
&2
echo
"
$1
../../util/pod2man.pl"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录