mirror of
https://git.proxmox.com/git/pve-eslint
synced 2025-10-04 17:43:18 +00:00
add dsc target, fix various packaging related stuff
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eb39fafa4f
commit
382381f701
21
Makefile
21
Makefile
@ -6,6 +6,7 @@ GITVERSION:=$(shell git rev-parse HEAD)
|
|||||||
BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
|
BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
|
||||||
|
|
||||||
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
|
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
|
||||||
|
DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
|
||||||
|
|
||||||
SRCDIR=src
|
SRCDIR=src
|
||||||
UPSTREAM=eslint
|
UPSTREAM=eslint
|
||||||
@ -15,15 +16,25 @@ BUILDSRC=${UPSTREAM}-${UPSTREAMTAG}
|
|||||||
all: ${DEB}
|
all: ${DEB}
|
||||||
@echo ${DEB}
|
@echo ${DEB}
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: dsc deb builddir
|
||||||
deb: ${DEB}
|
|
||||||
${DEB}: ${SRCDIR}
|
${BUILDDIR}: builddir
|
||||||
|
builddir: ${SRCDIR}
|
||||||
rm -rf ${BUILDDIR}
|
rm -rf ${BUILDDIR}
|
||||||
mkdir ${BUILDDIR}
|
mkdir ${BUILDDIR}
|
||||||
cp -a debian ${BUILDDIR}/
|
cp -a debian ${BUILDDIR}/
|
||||||
cp -a ${SRCDIR}/* ${BUILDDIR}/
|
cp -a ${SRCDIR}/* ${BUILDDIR}/
|
||||||
echo "git clone git://git.proxmox.com/git/pve-eslint.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
|
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}
|
lintian ${DEB}
|
||||||
@echo ${DEB}
|
@echo ${DEB}
|
||||||
|
|
||||||
@ -60,7 +71,7 @@ distclean: clean
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
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
|
.PHONY: dinstall
|
||||||
dinstall: deb
|
dinstall: deb
|
||||||
|
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
|||||||
10
|
12
|
||||||
|
8
debian/control
vendored
8
debian/control
vendored
@ -2,11 +2,13 @@ Source: pve-eslint
|
|||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
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
|
Package: pve-eslint
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: node-commander, node-colors, nodejs
|
Depends: node-commander, node-colors, nodejs, ${misc:Depends},
|
||||||
Description: ESLint for Proxmox Virtual Environment development
|
Description: ESLint for Proxmox Virtual Environment development
|
||||||
This package contains a version of eslint used to develop the
|
This package contains a version of eslint used to develop the
|
||||||
Proxmox Virtual Environment GUI.
|
Proxmox Virtual Environment, and other Proxmox projects, web GUI.
|
||||||
|
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -1,4 +1,4 @@
|
|||||||
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>
|
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
|
||||||
|
|
||||||
|
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