File: rules

package info (click to toggle)
octave-parallel 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,648 kB
  • sloc: ansic: 24,011; cpp: 6,848; sh: 4,476; makefile: 297; perl: 170; xml: 22
file content (21 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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:
	$(MAKE) -C src 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)