Jbuilder: how to declare an exe that is not to be installed

In the jbuild file:

(executable
 ((name        test)
  (libraries (unix))
  (public_name -)))

doesn’t work since ‘-’ is in the generated *.install file and will be installed?!

You should just omit the public_name from the executable.

1 Like

@UnixJunkie: You should edit your post to embed the code verbatim…

It works, thanks!
This should be in the jbuilder manual (I found the ‘-’ name in there, but it doesn’t work).