diff --git a/Makefile b/Makefile index aeaaf14..cc765d3 100644 --- a/Makefile +++ b/Makefile @@ -75,9 +75,9 @@ $(ISO_NAME)-CHECKSUM: $(ISO_NAME) # Build end ISO $(ISO_NAME): results/images/boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.txt - $(if $(wildcard build),,mkdir build) + $(if $(wildcard $(dir $(ISO_NAME))),,mkdir -p $(dir $(ISO_NAME))) xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt - implantisomd5 build/$(ISO_NAME) + implantisomd5 $(ISO_NAME) # Build boot.iso using Lorax results/images/boot.iso: external/lorax/branch-$(VERSION) $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES)