File: rules

package info (click to toggle)
octave-arduino 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,200 kB
  • sloc: cpp: 1,540; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 476 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 )
	dh_auto_build
endif