From 4780e3aa3844edbac43c463bbbf9d3e3ac99a14c Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Tue, 11 Feb 2020 00:03:54 +0000 Subject: [PATCH] Fix in release target of Makefile: force clean_all first. A clean build is needed to make sure that the Java code is compiled using -source 1.8 -target 1.8 to make it compatible with Java 8. --- prism/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prism/Makefile b/prism/Makefile index cc582cb0..f9c7808b 100644 --- a/prism/Makefile +++ b/prism/Makefile @@ -535,7 +535,7 @@ BIN_DIST_INST = $(BIN_DIST_DIR)-installer.exe # Build a (binary) distribution in the release directory release: JFLAGS += -source 1.8 -target 1.8 -release: all binary release_check_version build_release clean_binary +release: clean_all all binary release_check_version build_release clean_binary release_check_version: @if [ "$(VERSION)" = "" ]; then echo "Usage: make release VERSION=4.5"; exit 1; fi