mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-01 23:17:25 +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
|
||||
PKGREL=24
|
||||
|
||||
BUILDDIR ?= build
|
||||
|
||||
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
|
||||
DSC=${PACKAGE}_${PKGVER}-${PKGREL}.dsc
|
||||
|
||||
DESTDIR=
|
||||
|
||||
@ -54,14 +57,22 @@ JSSRC= \
|
||||
|
||||
all:
|
||||
|
||||
${BUILDDIR}:
|
||||
rm -rf ${BUILDDIR}
|
||||
rsync -a * ${BUILDDIR}
|
||||
|
||||
.PHONY: deb
|
||||
deb: ${DEB}
|
||||
${DEB}:
|
||||
rm -rf build
|
||||
rsync -a * build
|
||||
cd build; dpkg-buildpackage -b -us -uc
|
||||
${DEB}: ${BUILDDIR}
|
||||
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: ${DSC}
|
||||
${DSC}: ${BUILDDIR}
|
||||
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc
|
||||
lintian ${DSC}
|
||||
|
||||
.PHONY: lint
|
||||
lint: ${JSSRC}
|
||||
jslint ${JSSRC}
|
||||
@ -83,7 +94,7 @@ upload: ${DEB}
|
||||
distclean: 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 {} ';'
|
||||
|
||||
.PHONY: dinstall
|
||||
|
4
debian/control
vendored
4
debian/control
vendored
@ -3,11 +3,11 @@ Section: web
|
||||
Priority: optional
|
||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||
Build-Depends: debhelper (>= 9)
|
||||
Standards-Version: 3.9.5
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: http://www.proxmox.com
|
||||
|
||||
Package: proxmox-widget-toolkit
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: ExtJS Helper Classes for Proxmox
|
||||
ExtJS Helper Classes to easy access to Proxmox APIs.
|
||||
ExtJS Helper Classes to easy access to Proxmox APIs.
|
||||
|
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