So I lookup what these do, and they seem to have no relevance for building on Linux. Remember all I want to do is bear my own weight and not be a burden on anyone. In return I don’t want to be bothered with anything Windows or MacOS related.
Okay I ignore that and keep studying the Makefile. Actually it does seem to be divided into sections roughly corresponding the various platforms.
So I find this rule:
#
# Linux
#
$(TMPDIR)/VASSAL-$(VERSION)-linux/VASSAL-$(VERSION): all $(LIBDIR)/Vengine.jar
.....
So I manage to work out that in this case TMPDIR=tmp and VERSION=3.3.0-beta3 (the last source tarball I could find).
So I did:
make tmp/VASSAL-3.3.0-beta3-linux/VASSAL-3.3.0-beta3
This produced streams of warnings, but I was able to start VASSAL this way. So it seems to me that if we added a rule:
This might make it a little easier to contribute. I would not need to install launch4j, nsis, eclipse etc. I don’t know if it would be useful to put in similar rules for the other OS’es but obviously I’d be happy if it was.
So I lookup what these do, and they seem to have no relevance for
building on Linux. Remember all I want to do is bear my own weight and
not be a burden on anyone. In return I don’t want to be bothered with
anything Windows or MacOS related.
Those are neeed for buiding the Windows package. You don’t need them
unless you’re doing that.
Okay I ignore that and keep studying the Makefile. Actually it does seem
to be divided into sections roughly corresponding the various platforms.
So I find this rule:
Code:
Linux
$(TMPDIR)/VASSAL-$(VERSION)-linux/VASSAL-$(VERSION): all
$(LIBDIR)/Vengine.jar
…
That’s (part of) building the LInux package. If you’re not trying to build
the package, you don’t need that, either.
I can run “make release-linux”. It doesn’t need anything Windows or MacOS related.
I only have Linux, don’t have any of these NSIS and Launch4j things, and I can build a Linux release. That only needs make, the usual linux tools like find sed tar etc, and a JDK.
I use an IDE but it’s only for convenience, I could edit the code with emacs or vi just as well.