mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-08-06 07:42:16 +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
|
||||
JQSRC=jquery-${JQVER}.min.js
|
||||
|
||||
all: ${DEB}
|
||||
all:
|
||||
|
||||
.PHONY: deb
|
||||
deb ${DEB}:
|
||||
rm -rf build
|
||||
rsync -a debian build
|
||||
make DESTDIR=./build install
|
||||
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
||||
rsync -a * build
|
||||
cd build; dpkg-buildpackage -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
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