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

jbuilder

#1

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?!


#2

You should just omit the public_name from the executable.


#3

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


#4

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