#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: webpack --output-library=Markdown --config debian/webpack.config.js lib/index.js dist/markdown-it-html5-embed.js uglifyjs dist/markdown-it-html5-embed.js -o dist/markdown-it-html5-embed.js override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ln -s debian/node_modules node -e 'require(".")' rm node_modules endif