File: rules

package info (click to toggle)
ruby-netcdf 0.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,208 kB
  • sloc: ansic: 4,058; ruby: 1,743; makefile: 14; csh: 6
file content (21 lines) | stat: -rwxr-xr-x 485 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
#!/usr/bin/make -f

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DH_RUBY_GEMSPEC = ruby-netcdf.gemspec

%:
	dh $@ --buildsystem ruby --with ruby

override_dh_auto_install:
	dh_auto_install
	rm -fr $(CURDIR)/debian/ruby-netcdf/usr/bin

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/ext/numru/Makefile
	rm -f $(CURDIR)/ext/numru/netcdfraw.o
	rm -f $(CURDIR)/ext/numru/netcdfraw.so
	rm -f $(CURDIR)/ext/numru/.RUBY*
	rm -f $(CURDIR)/*.nc