ocaml-makefile icon indicating copy to clipboard operation
ocaml-makefile copied to clipboard

Can't libinstall when using subprojects

Open ghost opened this issue 7 years ago • 1 comments

Hello,

At example: https://github.com/mmottl/ocaml-makefile/tree/master/threads When changing the default target to be:

# Default target to use
all: bcl

And invoking: "libinstall", get the following "No rule to make target 'all', needed by 'libinstall":

$ make libinstall
make[1]: Entering directory '/home/threads'
make[2]: Entering directory '/home/threads'
make[2]: *** No rule to make target 'all', needed by 'libinstall'.  Stop.
make[2]: Leaving directory '/home/threads'
make[1]: *** [OCamlMakefile:1227: subproj_ex1] Error 2
make[1]: Leaving directory '/home/threads'
make: *** [Makefile:32: libinstall] Error 2

ghost avatar Oct 18 '18 04:10 ghost

I'm afraid, but I don't really develop OCamlMakefile anymore. You are much better off switching to Dune. But feel free to submit any patches you might need.

mmottl avatar Oct 18 '18 15:10 mmottl