debian swirl logo

Back to the packages list octave-epstk

#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules file for the Debian/GNU Linux octave-epstk package

include /usr/share/octave/debian/defs.make
include /usr/share/cdbs/1/rules/

shrpkg = /usr/share/octave/debian

# kick out files created during 'make check';
# without this, we can't use globbing parameters in octave-epstk.install
# (difficulties arise for example with .jpg, as default.jpg should be included,
# but no other .jpg files)
DEB_DH_INSTALL_ARGS_DEFAULT += --exclude=myNewSymbol.psd

# Do not compress the JavaScript files, needed for the documentation

	# Rename einit.m to epstk.conf, as dh_install cannot rename files when moving them 
	# And the file name should really end up as /etc/epstk.conf
		cp m/einit.m m/epstk.conf

# Poor man's "make check"
build/octave-epstk:: build-stamp
		echo "### Running demos with octave"	;		\
		( cd m ; 						\
		  echo 'global eConfigFile;				\
		eConfigFile = "../debian/epstk.conf-demos";	\
		ehelp = "No call to ehelp in demo batch";	\
			edemos;'					\
			| octave --silent --no-init-file ) ;		\
		touch build-stamp



gnu octave encapsulated postscript toolkit