buildsys: cleanup deb/dsc targets

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-19 16:22:19 +02:00
parent 1b02346293
commit 4b2de6c1e7

View File

@ -14,7 +14,6 @@ GITVERSION:=$(shell git rev-parse HEAD)
all: $(DEB)
.PHONY: $(BUILDSRC)
$(BUILDSRC):
rm -rf $@ $@.tmp
cp -a src $@.tmp
@ -24,12 +23,13 @@ $(BUILDSRC):
.PHONY: deb
deb $(DEB): $(BUILDSRC)
cd $(BUILDSRC); dpkg-buildpackage -rfakeroot -b -us -uc
cd $(BUILDSRC); dpkg-buildpackage -b -us -uc
lintian $(DEB)
.PHONY: dsc
dsc: $(BUILDSRC)
cd $(BUILDSRC); dpkg-buildpackage -S -us -uc -d -nc
dsc: $(DSC)
$(DSC): $(BUILDSRC)
cd $(BUILDSRC); dpkg-buildpackage -S -us -uc -d
lintian $(DSC)
.PHONY: upload