#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/octave-pkg-dev/octave-pkg.mk

# Do not use the clean target provided by the package: it will delete the
# binary MATLAB MEX files, which we cannot regenerate, hence making the package
# build not idempotent. Instead, use our own clean rule.
DEB_MAKE_CLEAN_TARGET = -f debian/rules clean-files

# Don't include MATLAB build script in the package
clean-files:
	find debian/ -name make.m | xargs rm
