buildsys: expand clean target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-23 16:11:55 +02:00
parent 4224613758
commit 205917a81d

View File

@ -49,16 +49,15 @@ $(DEB): $(PPSRC)/LibArchive.xs $(BUILDSRC)
cd $(BUILDSRC); dpkg-buildpackage -b -us -uc cd $(BUILDSRC); dpkg-buildpackage -b -us -uc
lintian $(DEB) $(DBG_DEB) lintian $(DEB) $(DBG_DEB)
.phony: upload .PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB) $(DBG_DEB) upload: $(DEB) $(DBG_DEB)
tar cf - $(DEB) $(DBG_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST) tar cf - $(DEB) $(DBG_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
CLEANFILES = *~ build *.deb libarchive_* libarchive-perl_* $(BUILDSRC) *.buildinfo *.build *.dsc *tar.?z .PHONY: clean
.phony: clean
clean: clean:
rm -rf $(CLEANFILES) rm -rf build $(PACKAGE)-[0-9]*/
rm -f *.deb *.buildinfo *.build *.dsc *.changes $(PACKAGE)*tar*
.PHONY: dinstall .PHONY: dinstall
dinstall: $(DEB) dinstall: $(DEB)