diff --git a/.gitignore b/.gitignore index e69de29..378eac2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/Makefile b/Makefile index 468d3a8..7ca8ae9 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ all: $(DISTDIR)/$(JAR) clean: $(RM) $(DISTDIR)/$(JAR) $(BUILDDIR)/*.class -$(DISTDIR)/$(JAR): $(SRCDIR)/LenientHostnameVerifierAgent.java +$(DISTDIR)/$(JAR): $(BUILDDIR)/LenientHostnameVerifierAgent.class + jar -cfm $@ $(SRCDIR)/manifest.txt -C $(BUILDDIR) . + +$(BUILDDIR)/LenientHostnameVerifierAgent.class: $(SRCDIR)/LenientHostnameVerifierAgent.java + mkdir -p build javac -d $(BUILDDIR) $< - jar cfm $@ $(SRCDIR)/manifest.txt $(BUILDDIR)/*.class diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/build/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/dist/LenientHostnameVerifierAgent.jar b/dist/LenientHostnameVerifierAgent.jar index 71852db..d07ba2e 100644 Binary files a/dist/LenientHostnameVerifierAgent.jar and b/dist/LenientHostnameVerifierAgent.jar differ