Faster as lintian isn't called on the resulting package and
incremental, as the no-pre-clean (-nc) flag is passed to build
package.
This is mostly relevant since the rust based TUI prototype got added
to packaging, as those needs quite a bit longer compared to copying
perl module files.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
cd build; dpkg-buildpackage -b -us -uc
lintian ${DEB}
+test-$(DEB): $(INSTALLER_SOURCES)
+ rsync --exclude='test*.img' -a * build
+ cd build; dpkg-buildpackage -b -us -uc -nc
+ mv $(DEB) test-$(DEB)
+
DESTDIR=
VARLIBDIR=$(DESTDIR)/var/lib/proxmox-installer
HTMLDIR=$(VARLIBDIR)/html/common
truncate -s 8G $@
.PHONY: prepare-check-env
-prepare-check-env: $(DEB)
+prepare-check-env: test-$(DEB)
umount -Rd testdir || true
rm -rf testdir
- dpkg -X $(DEB) testdir
+ dpkg -X test-$(DEB) testdir
cd-info.test: PRODUCT ?= pve
cd-info.test: