On 04/27/2014 11:50 PM, John E. Malmberg wrote:
> Help libraries are .hlb, not .hlp.
> 
>     all: h.hlb(h)

My bad, sorry for the misleading typo, but I can't get that to work

$ copy nla0: h.hlp
$ copy nla0: h.h
$ mc [.make]make -f-"
all: h.hlb(h)
 Exit
if f$search("h.hlb") .eqs. "" then library/CREATE/TEXT h.hlb
library  h.hlb h.h
%LIBRAR-W-DIFTYP, expected TEXT library SYS$SYSDEVICE:[HARTMUT]H.HLB;1
to be HELP
<builtin>: recipe for target 'h.hlb(h)' failed
make: *** [h.hlb(h)] Error 0x10868030
make: *** Archive member 'h.hlb(h)' may be bogus; not deleted
$
$ libr/cre/help h
$ mc [.make]make -f-"
all: h.hlb(h)
 Exit
if f$search("h.hlb") .eqs. "" then library/CREATE/TEXT h.hlb
library  h.hlb h.h
%LIBRAR-W-NOHLPTXT, no level 1 help text found in
SYS$SYSDEVICE:[HARTMUT]H.H;1
<builtin>: recipe for target 'h.hlb(h)' failed
make: *** [h.hlb(h)] Error 0x10868050
$
$ mc [.make]make -f-"
all: h.hlb(h.hlp)
 Exit
if f$search("h.hlb") .eqs. "" then library/CREATE/OBJECT h.hlb
library /replace h.hlb h.hlp
%LIBRAR-W-NOHLPTXT, no level 1 help text found in
SYS$SYSDEVICE:[HARTMUT]H.HLP;1
<builtin>: recipe for target 'h.hlb(h.hlp)' failed
make: *** [h.hlb(h.hlp)] Error 0x10868050
$

I admit, the output of the last example is no surprise.

> The name in the parenthesis is the module name, and on VMS, the module
> name can be different than the filename and does not have a type.

Object modules, yes, I'm aware of that (as well as the fact that a VMS
object file can contain more than one object module).

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to