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.
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:
+++ /dev/null
-/usr/share/perl5
-/usr/share/libpve-http-server-perl