#!/usr/bin/make -f # -*- makefile -*- %: dh $@ --buildsystem=octave # Recompile the info file (it has been cleaned by the pkg install), and then # install it in the system-wide directory (after renaming it). Also compile the # HTML documentation. ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) execute_after_dh_auto_install: ( cd src ; ./configure ; make html ../doc/optim.info) mv doc/optim.info doc/octave-optim.info endif