File: rules

package info (click to toggle)
octave-parallel 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,652 kB
  • sloc: ansic: 24,011; cpp: 6,848; sh: 4,476; makefile: 298; perl: 170; xml: 22
file content (22 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
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 -*-

### Disable unit testing.  The tests need the package octave-parallel
### itself installed in the system.
export DEB_BUILD_MAINT_OPTIONS = nocheck

%:
	dh $@ --buildsystem=octave

execute_after_dh_auto_install:
	( cd src ;./configure )
	$(MAKE) -C src doc html

USRDIR = debian/octave-parallel/usr
LIBEXECDIR = $(USRDIR)/libexec
BINDIR = $(USRDIR)/share/octave/packages/parallel-*/bin

execute_after_dh_installdeb:
	mkdir $(LIBEXECDIR)
	mv $(BINDIR)/octave-pserver $(LIBEXECDIR)
	rm -rf $(BINDIR)