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

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

pkg = octave-ocs

build/$(pkg):
	( cd doc ; pdflatex iffspec_ocs )

install/$(pkg):
	# Fix wrong permission of a file in the upstream tarball
	# Change commited as upstream rev r9938
	chmod -x $$(find debian/$(pkg) -name prs_spice.m)
