File: rules

package info (click to toggle)
octave-jnifti 0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 11,760 kB
  • sloc: makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# export DH_VERBOSE =1

%:
	+dh $@ --buildsystem=octave --with=octave
	
override_dh_auto_configure:
	mkdir inst
	cp lib/matlab/DESCRIPTION .
	cp lib/matlab/INDEX .
	cp lib/matlab/*.m inst
	cp lib/octave/*.m inst
	cp lib/matlab/LICENSE_GPLv3.txt COPYING
	sed -i -e 's/^%!.*$$//g' inst/niftiread.m inst/niftiwrite.m inst/niftiinfo.m
	rm -rf inst/gzip*.m