File: rules

package info (click to toggle)
ganglia-modules-linux 1.3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,500 kB
  • sloc: sh: 11,132; ansic: 1,100; makefile: 73
file content (13 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export CFLAGS += $(shell apr-1-config --cflags --cppflags --includes)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	cp conf.d/mod_fs.conf debian/ganglia-modules-linux/etc/ganglia/conf.d/mod_fs.conf-sample
	cp conf.d/mod_io.conf debian/ganglia-modules-linux/etc/ganglia/conf.d
	cp conf.d/mod_multicpu.conf debian/ganglia-modules-linux/etc/ganglia/conf.d/mod_multicpu.conf-sample
	find debian/ \( -name "*.la" -o -name "*.a" -o -name "modmulticpu.so" \) -delete