mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
13 lines
No EOL
466 B
Makefile
13 lines
No EOL
466 B
Makefile
input.txt: gen_input.sh
|
|
$(if $(wildcard ../results/boot/grub2/grub.cfg),sed -i 's/quiet/quiet $(EXTRA_BOOT_PARAMS)/g' ../results/boot/grub2/grub.cfg)
|
|
sed -i 's/quiet/quiet $(EXTRA_BOOT_PARAMS)/g' ../results/EFI/BOOT/grub.cfg
|
|
$(eval _VARS = ARCH FLATPAK_DIR IMAGE_NAME IMAGE_TAG ISO_NAME VERSION)
|
|
$(foreach var,$(_VARS),$(var)=$($(var))) bash gen_input.sh | tee input.txt
|
|
|
|
install-deps:
|
|
|
|
FILES=$(wildcard input.txt)
|
|
clean:
|
|
ifneq ($(FILES),)
|
|
rm -Rf $(FILES)
|
|
endif |