1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/dpkg/pkg-info.mk
export SOURCE_DATE_EPOCH
%:
dh $@ --buildsystem=octave --with=octave
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
override_dh_auto_build:
[ ! -f doc/Makefile ] || make -C doc html pdf info
dh_auto_build
# This problem was detected by Lintian (info-document-missing-image-file).
# The image files are shared now by the HTML and INFO forms of
# documentation.
sed -i -e 's:src="\(.*\.png\)":src="/usr/share/doc/octave-queueing/\1":' doc/queueing.info
endif
override_dh_auto_clean:
[ ! -f doc/Makefile ] || make -C doc clean
dh_auto_clean
|