buildsys: improve DSC target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
149fd91bb2
commit
a80c5e3597
11
Makefile
11
Makefile
@ -32,10 +32,14 @@ DEBS= $(ZFS_DEB1) $(ZFS_DEB2) $(ZFS_DBG_DEBS)
|
||||
ZFS_DSC = zfs-linux_$(DEB_VERSION).dsc
|
||||
|
||||
all: deb
|
||||
.PHONY: deb
|
||||
|
||||
.PHONY: deb dsc
|
||||
deb: $(DEBS)
|
||||
.PHONY: dsc
|
||||
dsc: $(ZFS_DSC)
|
||||
|
||||
dsc:
|
||||
rm -rf *.dsc $(BUILDDIR)
|
||||
$(MAKE) $(ZFS_DSC)
|
||||
lintian $(ZFS_DSC)
|
||||
|
||||
# called from pve-kernel's Makefile to get patched sources
|
||||
.PHONY: kernel
|
||||
@ -65,7 +69,6 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
|
||||
|
||||
$(ZFS_DSC): $(BUILDDIR) $(ORIG_SRC_TAR)
|
||||
cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
|
||||
lintian $@
|
||||
|
||||
sbuild: $(ZFS_DSC)
|
||||
sbuild $(ZFS_DSC)
|
||||
|
Loading…
Reference in New Issue
Block a user