#!/usr/bin/make -f

include /usr/share/octave/debian/defs.make

# Reminder: remove the next two lines when debhelper compat level will be upgraded to 9
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- all pdf html

# Don't run the testsuite
override_dh_auto_test:

override_dh_link:
	dh_link --package=dynare-common /usr/share/dynare/matlab/dynare.m $(MDIR)/dynare.m

get-orig-source:
	uscan --force-download --rename --destdir .
.PHONY: get-orig-source
