mirror of
https://git.proxmox.com/git/pve-firewall
synced 2025-10-04 11:38:33 +00:00
buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
43be6155b4
commit
95ed90a9a8
9
Makefile
9
Makefile
@ -9,6 +9,7 @@ ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
|||||||
GITVERSION:=$(shell git rev-parse HEAD)
|
GITVERSION:=$(shell git rev-parse HEAD)
|
||||||
|
|
||||||
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||||
|
DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc
|
||||||
DEB2=${PACKAGE}-dbgsym_${VERSION}-${PKGREL}_${ARCH}.deb
|
DEB2=${PACKAGE}-dbgsym_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||||
DEBS=$(DEB) $(DEB2)
|
DEBS=$(DEB) $(DEB2)
|
||||||
|
|
||||||
@ -30,6 +31,12 @@ $(DEB): ${BUILDDIR} check
|
|||||||
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 -nc
|
||||||
|
lintian ${DSC}
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check:
|
check:
|
||||||
make -C test check
|
make -C test check
|
||||||
@ -39,7 +46,7 @@ distclean: clean
|
|||||||
clean:
|
clean:
|
||||||
make -C src clean
|
make -C src clean
|
||||||
make -C test clean
|
make -C test clean
|
||||||
rm -rf *~ debian/*~ example/*~ *.deb *.changes *.buildinfo ${BUILDDIR} ${PACKAGE}-*.tar.gz
|
rm -rf *~ debian/*~ example/*~ *.deb *.changes *.buildinfo ${BUILDDIR} ${PACKAGE}-*.tar.gz *.dsc
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: $(DEBS)
|
upload: $(DEBS)
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 10),
|
|||||||
libpve-common-perl,
|
libpve-common-perl,
|
||||||
pve-cluster,
|
pve-cluster,
|
||||||
pve-doc-generator (>= 5.3-3),
|
pve-doc-generator (>= 5.3-3),
|
||||||
Standards-Version: 3.8.4
|
Standards-Version: 3.9.8
|
||||||
|
|
||||||
Package: pve-firewall
|
Package: pve-firewall
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
1.0
|
Loading…
Reference in New Issue
Block a user