mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-25 11:17:11 +00:00
buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
b7d94d3e1a
commit
f0e4870b4f
21
Makefile
21
Makefile
@ -2,7 +2,10 @@ PACKAGE=proxmox-widget-toolkit
|
|||||||
PKGVER=1.0
|
PKGVER=1.0
|
||||||
PKGREL=24
|
PKGREL=24
|
||||||
|
|
||||||
|
BUILDDIR ?= build
|
||||||
|
|
||||||
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
|
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
|
||||||
|
DSC=${PACKAGE}_${PKGVER}-${PKGREL}.dsc
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
||||||
@ -54,14 +57,22 @@ JSSRC= \
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
|
${BUILDDIR}:
|
||||||
|
rm -rf ${BUILDDIR}
|
||||||
|
rsync -a * ${BUILDDIR}
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb: ${DEB}
|
deb: ${DEB}
|
||||||
${DEB}:
|
${DEB}: ${BUILDDIR}
|
||||||
rm -rf build
|
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
|
||||||
rsync -a * build
|
|
||||||
cd build; dpkg-buildpackage -b -us -uc
|
|
||||||
lintian ${DEB}
|
lintian ${DEB}
|
||||||
|
|
||||||
|
.PHONY: dsc
|
||||||
|
dsc: ${DSC}
|
||||||
|
${DSC}: ${BUILDDIR}
|
||||||
|
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc
|
||||||
|
lintian ${DSC}
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: ${JSSRC}
|
lint: ${JSSRC}
|
||||||
jslint ${JSSRC}
|
jslint ${JSSRC}
|
||||||
@ -83,7 +94,7 @@ upload: ${DEB}
|
|||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ./build *.deb *.changes *.buildinfo proxmoxlib.js
|
rm -rf ${BUILDDIR} *.tar.gz *.dsc *.deb *.changes *.buildinfo proxmoxlib.js
|
||||||
find . -name '*~' -exec rm {} ';'
|
find . -name '*~' -exec rm {} ';'
|
||||||
|
|
||||||
.PHONY: dinstall
|
.PHONY: dinstall
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -3,7 +3,7 @@ Section: web
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||||
Build-Depends: debhelper (>= 9)
|
Build-Depends: debhelper (>= 9)
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.8
|
||||||
Homepage: http://www.proxmox.com
|
Homepage: http://www.proxmox.com
|
||||||
|
|
||||||
Package: proxmox-widget-toolkit
|
Package: proxmox-widget-toolkit
|
||||||
|
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