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

include /usr/share/cdbs/1/class/octave-pkg.mk

pkg = communications
archshr = $(CURDIR)/debian/octave-$(pkg)/usr/share
indepshr = $(CURDIR)/debian/octave-$(pkg)-common/usr/share

DEB_DH_INSTALL_SOURCEDIR = debian/octave-$(pkg)

build/octave-$(pkg)::
	make -C doc comms.pdf comms.info

install/octave-$(pkg)-common:: install/octave-$(pkg)

install/octave-$(pkg)::
	# Move the architecture independent files into the appropriate
	# package
	mkdir -p $(indepshr)
	mv $(archshr)/octave $(indepshr)

clean::
	make -C doc clean
