mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-08-07 13:57:53 +00:00
build script improvement
build with dpkg-buildpackage (in temp dir), instead of install-ing the files manually and then pretending to build with dpkg-buildpackage. this makes the whole fakeroot/root handling simpler, and makes "make deb" a simple wrapper around building the package, like it should be.
This commit is contained in:
parent
ca304f91ce
commit
5a554403b5
7
Makefile
7
Makefile
@ -28,14 +28,13 @@ BTDATA = \
|
|||||||
JQVER=3.3.1
|
JQVER=3.3.1
|
||||||
JQSRC=jquery-${JQVER}.min.js
|
JQSRC=jquery-${JQVER}.min.js
|
||||||
|
|
||||||
all: ${DEB}
|
all:
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb ${DEB}:
|
deb ${DEB}:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rsync -a debian build
|
rsync -a * build
|
||||||
make DESTDIR=./build install
|
cd build; dpkg-buildpackage -b -us -uc
|
||||||
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
|
||||||
lintian ${DEB}
|
lintian ${DEB}
|
||||||
|
|
||||||
download_bootstrap:
|
download_bootstrap:
|
||||||
|
2
debian/install
vendored
2
debian/install
vendored
@ -1,2 +0,0 @@
|
|||||||
/usr/share/perl5
|
|
||||||
/usr/share/libpve-http-server-perl
|
|
Loading…
Reference in New Issue
Block a user