I am trying to learn how to write a port for PhantomBot which is a Twitch bot written in Java. It uses Apache ant to build. I have USE_ANT=yes in the Makefile, and so it automatically runs ant on build.xml. But immediately after ant finishes building the project, make is called on the Makefile in the project's source directory. This is completely unnecessary as the Makefile basically just sets environment variables and runs ant. So, if not for the error encountered because it requires gmake, it would just end up building the same project twice in a row.
I thought perhaps I could simply delete the Makefile in the project's source, but then there is a failure because it can't find the Makefile.
How do I prevent make from running on the project after ant finishes? It doesn't make any sense to me that it would do this because the handbook says that setting USE_ANT sets ant as the submake command. I wouldn't expect BSD make to be run at all in this case.
I thought perhaps I could simply delete the Makefile in the project's source, but then there is a failure because it can't find the Makefile.
How do I prevent make from running on the project after ant finishes? It doesn't make any sense to me that it would do this because the handbook says that setting USE_ANT sets ant as the submake command. I wouldn't expect BSD make to be run at all in this case.