#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ # The pkg-js-tools build-time smoke test does `require("./packages/mui-material")`, # which resolves the source package.json (main: ./src/index.ts) rather than the # transpiled build/ output, so it cannot run here. The module is exercised at # autopkgtest time against the installed package instead. override_dh_auto_test: execute_after_dh_installdocs: dh_nodejs_autodocs # The per-component build scripts create node_modules/.bin/{babel,tsc,pnpm}. # pkg-js-tools rebuilds node_modules during dh_auto_build, so they are created # there rather than here; clean them up so the source tree stays pristine. execute_after_dh_auto_clean: rm -f node_modules/.bin/babel node_modules/.bin/tsc node_modules/.bin/pnpm -rmdir node_modules/.bin node_modules