Fix Makefile
This commit is contained in:
parent
bb0c40fd82
commit
1d964082b2
5
Makefile
5
Makefile
@ -5,8 +5,8 @@ build: prepare
|
|||||||
|
|
||||||
prepare: | submodule
|
prepare: | submodule
|
||||||
mkdir -p $(BUILD_DIR)/debian/
|
mkdir -p $(BUILD_DIR)/debian/
|
||||||
ln -sf $$(readlink -f submodules/pve-qemu/qemu) $(BUILD_DIR)/qemu
|
ln -sf $$(readlink -f pve-qemu/qemu) $(BUILD_DIR)/qemu
|
||||||
cp -r submodules/pve-qemu/debian/* $(BUILD_DIR)/debian
|
cp -r pve-qemu/debian/* $(BUILD_DIR)/debian
|
||||||
cp -r patches/* $(BUILD_DIR)/debian/patches/pve
|
cp -r patches/* $(BUILD_DIR)/debian/patches/pve
|
||||||
cd $(BUILD_DIR)/debian/patches && find pve -type f | grep 'pve/9' >> series && cd -
|
cd $(BUILD_DIR)/debian/patches && find pve -type f | grep 'pve/9' >> series && cd -
|
||||||
cp pve-qemu/* $(BUILD_DIR)/ || true
|
cp pve-qemu/* $(BUILD_DIR)/ || true
|
||||||
@ -14,7 +14,6 @@ prepare: | submodule
|
|||||||
.PHONY: submodule
|
.PHONY: submodule
|
||||||
submodule:
|
submodule:
|
||||||
git submodule update --init pve-qemu
|
git submodule update --init pve-qemu
|
||||||
cd pve-qemu && git submodule update --init qemu
|
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user