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

export NODE_PATH := debian/node_modules

%:
	dh $@

override_dh_auto_build:
	rollup --config debian/rollup.config.js
	terser dist/markdown-it-html5-embed.js -o dist/markdown-it-html5-embed.js

override_dh_auto_clean:
	rm -rf node_modules/.cache dist
	dh_auto_clean
