File: rules

package info (click to toggle)
octave-arduino 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,548 kB
  • sloc: cpp: 2,320; xml: 22; makefile: 11; sh: 1
file content (18 lines) | stat: -rwxr-xr-x 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

### Disable unit testing.  The tests fail massively because most of
### them needs an Arduino system connected to the system.
export DEB_BUILD_MAINT_OPTIONS = nocheck

%:
	dh $@ --buildsystem=octave --with=octave

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
override_dh_auto_build:
	( cd doc ;					\
	  makeinfo --no-split arduino.texi ;		\
	  makeinfo --html --no-split arduino.texi ;	\
	  texi2pdf arduino.texi || true )
	dh_auto_build
endif