mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 19:20:11 +00:00
buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7263229629
commit
efd152d787
9
Makefile
9
Makefile
@ -21,6 +21,7 @@ GITVERSION:=$(shell git rev-parse HEAD)
|
|||||||
|
|
||||||
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
|
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
|
||||||
DBG_DEB=${PACKAGE}-dbgsym_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
|
DBG_DEB=${PACKAGE}-dbgsym_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
|
||||||
|
DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
|
||||||
|
|
||||||
DEBS=${DEB} ${DBG_DEB}
|
DEBS=${DEB} ${DBG_DEB}
|
||||||
|
|
||||||
@ -90,6 +91,12 @@ ${DEB}: $(BUILDDIR)
|
|||||||
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
|
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
|
||||||
lintian ${DEBS}
|
lintian ${DEBS}
|
||||||
|
|
||||||
|
.PHONY: dsc
|
||||||
|
dsc: ${DSC}
|
||||||
|
${DSC}: ${BUILDDIR}
|
||||||
|
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d
|
||||||
|
lintian ${DSC}
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
PVE_GENERATING_DOCS=1 perl -I. ./qm verifyapi
|
PVE_GENERATING_DOCS=1 perl -I. ./qm verifyapi
|
||||||
@ -102,7 +109,7 @@ upload: ${DEB}
|
|||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) cleanup-docgen
|
$(MAKE) cleanup-docgen
|
||||||
rm -rf $(PACKAGE)-*/ *.deb *.buildinfo *.changes
|
rm -rf $(PACKAGE)-*/ *.deb *.buildinfo *.changes *.dsc
|
||||||
find . -name '*~' -exec rm {} ';'
|
find . -name '*~' -exec rm {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user