BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
SRCDIR=src
UPSTREAM=eslint
all: ${DEB}
@echo ${DEB}
-.PHONY: deb
-deb: ${DEB}
-${DEB}: ${SRCDIR}
+.PHONY: dsc deb builddir
+
+${BUILDDIR}: builddir
+builddir: ${SRCDIR}
rm -rf ${BUILDDIR}
mkdir ${BUILDDIR}
cp -a debian ${BUILDDIR}/
cp -a ${SRCDIR}/* ${BUILDDIR}/
echo "git clone git://git.proxmox.com/git/pve-eslint.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
- cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
+
+
+dsc: ${DSC}
+${DSC}: builddir
+ cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us
+ lintian ${DSC}
+
+deb: ${DEB}
+${DEB}: builddir
+ cd ${BUILDDIR}; dpkg-buildpackage -b -uc -us
lintian ${DEB}
@echo ${DEB}
.PHONY: clean
clean:
- rm -rf *~ debian/*~ *.deb ${BUILDSRC} ${BUILDSRC}.tmp ${UPSTREAM}.tmp ${BUILDDIR} *.changes *.dsc *.buildinfo
+ rm -rf *~ debian/*~ *.deb ${BUILDSRC} *.tmp/ ${BUILDDIR} *.changes *.tar.gz *.dsc *.buildinfo
.PHONY: dinstall
dinstall: deb
Section: devel
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7.0.0~)
+Build-Depends: debhelper (>= 12~)
+Standards-Version: 4.3.0
+Homepage: http://www.proxmox.com
Package: pve-eslint
Architecture: all
-Depends: node-commander, node-colors, nodejs
+Depends: node-commander, node-colors, nodejs, ${misc:Depends},
Description: ESLint for Proxmox Virtual Environment development
This package contains a version of eslint used to develop the
- Proxmox Virtual Environment GUI.
+ Proxmox Virtual Environment, and other Proxmox projects, web GUI.
-Copyright (C) 2020 Proxmox Server Solutions GmbH
+Copyright (C) 2020 Proxmox Server Solutions GmbH (packaging)
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>