#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

#override_dh_auto_build:

N=debian/node-dayjs/usr/share/nodejs/dayjs

execute_after_dh_installdocs:
	dh_nodejs_autodocs

execute_after_dh_install:
	jq --arg ver "$(DEB_VERSION_UPSTREAM)" '.version = $$ver' package.json > $(N)/package.json
