#!/usr/bin/make -f export PDFIUM = $(CURDIR)/pdfium export INPUT = $(CURDIR)/src export OUTPUT = $(CURDIR)/debian/build %: dh $@ override_dh_auto_configure: # Nothing to configure; upstream's compile.sh drives the build. override_dh_auto_build: mkdir -p $(OUTPUT) BUILD_TYPE=wasm sh compile.sh BUILD_TYPE=js sh compile.sh override_dh_auto_install: # Nothing to do; debian/install lists the files built above. override_dh_auto_test: # The generated modules need a browser environment to run in.