buildsys: fix targets to not run dpkg-buildpackage 4 times
and add a deb-all target Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
77d634710e
commit
37e53b4c07
11
Makefile
11
Makefile
|
@ -80,18 +80,21 @@ build:
|
||||||
|
|
||||||
|
|
||||||
.PHONY: proxmox-backup-docs
|
.PHONY: proxmox-backup-docs
|
||||||
proxmox-backup-docs: $(DOC_DEB)
|
$(DOC_DEB) $(DEBS): proxmox-backup-docs
|
||||||
$(DOC_DEB): build
|
proxmox-backup-docs: build
|
||||||
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean
|
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean
|
||||||
lintian $(DOC_DEB)
|
lintian $(DOC_DEB)
|
||||||
|
|
||||||
# copy the local target/ dir as a build-cache
|
# copy the local target/ dir as a build-cache
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb: $(DEBS)
|
$(DEBS): deb
|
||||||
$(DEBS): build
|
deb: build
|
||||||
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean --build-profiles=nodoc
|
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean --build-profiles=nodoc
|
||||||
lintian $(DEBS)
|
lintian $(DEBS)
|
||||||
|
|
||||||
|
.PHONY: deb-all
|
||||||
|
deb-all: $(DOC_DEB) $(DEBS)
|
||||||
|
|
||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: $(DSC)
|
dsc: $(DSC)
|
||||||
$(DSC): build
|
$(DSC): build
|
||||||
|
|
Loading…
Reference in New Issue