mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
split make file
This commit is contained in:
parent
1de61a8083
commit
ff74117fac
24 changed files with 249 additions and 172 deletions
14
test/Makefile
Normal file
14
test/Makefile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
TESTS=$(filter-out README.md Makefile,$(wildcard *)) $(filter-out README.md Makefile,$(wildcard */*))
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
$(TESTS):
|
||||
$(eval DIR=$(firstword $(subst /, ,$@)))
|
||||
$(eval TARGET=$(subst $(DIR)/,,$@))
|
||||
$(MAKE) -w -C $(DIR) $(TARGET)
|
||||
|
||||
install-deps:
|
||||
if [ "$(PACKAGE_MANAGER)" =~ apt.* ]; then $(PACKAGE_MANAGER) update; fi
|
||||
$(PACKAGE_MANAGER) install -y qemu qemu-utils xorriso unzip qemu-system-x86 netcat socat jq isomd5sum ansible make coreutils squashfs-tools
|
||||
|
||||
.PHONY: all $(TESTS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue