mirror of
https://git.proxmox.com/git/libarchive-perl
synced 2025-10-04 19:08:47 +00:00
buildsys: expand clean target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4224613758
commit
205917a81d
9
Makefile
9
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user