Fix Makefile

This commit is contained in:
Gregory Lirent 2024-08-03 16:12:33 +03:00
parent bb0c40fd82
commit 1d964082b2
Signed by: lirent
GPG Key ID: F616BE337EFFEE77

View File

@ -5,8 +5,8 @@ build: prepare
prepare: | submodule
mkdir -p $(BUILD_DIR)/debian/
ln -sf $$(readlink -f submodules/pve-qemu/qemu) $(BUILD_DIR)/qemu
cp -r submodules/pve-qemu/debian/* $(BUILD_DIR)/debian
ln -sf $$(readlink -f pve-qemu/qemu) $(BUILD_DIR)/qemu
cp -r pve-qemu/debian/* $(BUILD_DIR)/debian
cp -r patches/* $(BUILD_DIR)/debian/patches/pve
cd $(BUILD_DIR)/debian/patches && find pve -type f | grep 'pve/9' >> series && cd -
cp pve-qemu/* $(BUILD_DIR)/ || true
@ -14,7 +14,6 @@ prepare: | submodule
.PHONY: submodule
submodule:
git submodule update --init pve-qemu
cd pve-qemu && git submodule update --init qemu
.PHONY: clean
clean: