1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
LLHTTPVERSION=$(shell pkgjs-pjson llhttp version)
%:
dh $@
override_dh_auto_build:
# Override the global undici-types with our local copy.
cp -r types node_modules/undici-types
dh_auto_build --buildsystem=nodejs
override_dh_auto_test:
# autopkgtest only
override_dh_install:
dh_install
rm -f debian/node-undici/usr/share/nodejs/undici/lib/fetch/LICENSE
override_dh_gencontrol:
dh_gencontrol -pnode-undici -- -v$(DEB_VERSION)
dh_gencontrol -pnode-llhttp -- -v$(LLHTTPVERSION)~$(DEB_VERSION) -Vllhttp:Version=$(LLHTTPVERSION)
|