#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	cp -a src debian/tmp-src
	sed -i "s|\\(from './[A-Za-z0-9._-]*\\)\\.ts'|\\1.js'|g" debian/tmp-src/*.ts
	tsc -p debian/tsconfig.json
