Read about our upcoming Code of Conduct on this issue

Commit 4c171200 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

Makefile: always check all minimal targets when running "make zip"

(only check whether they compile without errors, just like with the installer)

branch : qemu
parent e8c2e3561955
......@@ -82,7 +82,7 @@ prepare_zip: FORCE
mkdir -p $(INSTALL_DIR)
# zip.txt must be the first item on the list!
magiclantern-$(VERSION).zip: install installer_check installdoc
magiclantern-$(VERSION).zip: install installer_check installdoc minimal_check
-$(call rm_files, $@)
chmod -x $(INSTALL_DIR)/autoexec.bin
cd $(INSTALL_DIR); zip -z ../$@ < \
TOPTARGETS := all clean
SUBDIRS := $(wildcard */.)
......@@ -66,3 +66,9 @@ installer_check:
$(info )
# make sure the minimal targets can be compiled without errors
# the results won't be included in the zip; this is just to prevent code rot
$(MAKE) -C $(TOP_DIR)/minimal/ MODEL=$(MODEL) clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment