Debian Codegraph @

vms/libssh2_make_help.dcl

raw
1 $!
2 $!
3 $!
4 $ olddir = f$environment( "default" )
5 $ on control_y then goto End
6 $ on error then goto End
7 $!
8 $ gosub Init
9 $!
10 $ man2help sys$input: libssh2.hlp -b 1
11
12 LIBSSH2
13
14 OpenVMS port of the libssh2 library, which provides an
15 API to implement client SSH communication.
16
17 License information is available at the Copying subtopic.
18
19 $!
20 $ open/append mh libssh2.hlp
21 $ write mh helpversion
22 $ close mh
23 $!
24 $ man2help -a [-]README.; libssh2.hlp -b 2
25 $ man2help -a [-]COPYING.; libssh2.hlp -b 2
26 $ man2help -a [-]NEWS.; libssh2.hlp -b 2
27 $ man2help -a [-]RELEASE-NOTES.; libssh2.hlp -b 2
28 $ man2help -a [-.docs]AUTHORS.; libssh2.hlp -b 2
29 $ copy [-.docs]BINDINGS.md; []BINDINGS.md
30 $ copy [-.docs]HACKING.md; []HACKING.md
31 $ if f$search("[]HACKING_CRYPTO.") .nes. "" then delete []HACKING_CRYPTO.;*
32 $ copy [-.docs]HACKING-CRYPTO; []HACKING_CRYPTO.
33 $ man2help -a []HACKING_CRYPTO.; libssh2.hlp -b 2
34 $ man2help -a [-.docs]TODO.; libssh2.hlp -b 2
35 $!
36 $ man2help -a sys$input: libssh2.hlp -b 2
37
38 API_Reference
39
40 Reference of all implemented API calls in
41 libssh2.
42
43 $!
44 $ man2help -a [-.docs]*.3 libssh2.hlp -b 3 -p
45 $!
46 $ library/help/create libssh2.hlb libssh2.hlp
47 $!
48 $End:
49 $ set default 'olddir'
50 $exit
51 $!
52 $!-------------------------------------------------------
53 $!
54 $Init:
55 $!
56 $ thisdir = f$environment( "procedure" )
57 $ thisdir = f$parse(thisdir,,,"device") + f$parse(thisdir,,,"directory")
58 $ set default 'thisdir'
59 $!
60 $ say = "write sys$output"
61 $!
62 $ pipe search [-.include]*.h libssh2_version_major/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
63 define/job majorv &l )
64 $ pipe search [-.include]*.h libssh2_version_minor/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
65 define/job minorv &l )
66 $ pipe search [-.include]*.h libssh2_version_patch/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
67 define/job patchv &l )
68 $!
69 $ majorv = f$trnlnm("majorv")
70 $ minorv = f$integer(f$trnlnm("minorv"))
71 $ patchv = f$integer( f$trnlnm("patchv"))
72 $!
73 $ helpversion = "This help library is based on build version ''majorv'.''minorv'.''patchv' of libssh2."
74 $!
75 $ deassign/job majorv
76 $ deassign/job minorv
77 $ deassign/job patchv
78 $!
79 $ if f$search( "man2help.exe" ) .eqs. ""
80 $ then
81 $ cc man2help
82 $ link man2help
83 $ endif
84 $!
85 $ man2help := $'thisdir'man2help.exe
86 $!
87 $ if f$search("libssh2.hlp") .nes. ""
88 $ then
89 $ delete libssh2.hlp;*
90 $ endif
91 $ if f$search("libssh2.hlb") .nes. ""
92 $ then
93 $ delete libssh2.hlb;*
94 $ endif
95 $return