File: rules

package info (click to toggle)
octave-signal 1.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,280 kB
  • sloc: cpp: 2,395; ansic: 672; python: 426; makefile: 173; xml: 24
file content (17 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --buildsystem=octave

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
execute_before_dh_auto_build:
	mkdir .hg
	touch .hg/dirstate
	chmod +x doc/mkfuncdocs.py doc/mkqhcp.py
	make -k doc
	# Fix for makeinfo error:
	# "@group invalid in context where filling is enabled"
	sed -i -e 's/^@\(end \|\)group$$//' doc/functions.texi
	cd doc && makeinfo --pdf --output=signal.pdf signal.texi
endif