Commits

camlspotter committed 518d60e

camlidl invocation

  • Participants
  • Parent commits c9a6d92
  • Branches dev

Comments (0)

Files changed (1)

 autoclasses.idl autoclasses.h: classes.h.in classes.idl.in classes.pl type.ml
     ./classes.pl type.ml
 
+# bash -c is required to search camlidl. 
+# Without bash -c, camlidl cannot be found by the shell, if it is just installed. 
 auto.ml auto.mli auto_stubs.c: $(addsuffix .idl, $(IDLS)) $(Installed camlidl) autoclasses.idl autoclasses.h
-	camlidl auto.idl
+	bash -c "camlidl auto.idl"
 
 autoapi.ml : auto.ml module.pl $(addsuffix .idl.in, $(IDLS))
     ./module.pl *.idl.in > $@