File: rules

package info (click to toggle)
raidutils 0.0.6-19
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,468 kB
  • sloc: cpp: 39,795; ansic: 22,774; sh: 9,964; makefile: 23
file content (17 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

dh_targets=binary binary-arch binary-indep build build-arch build-indep clean install

$(dh_targets) %:
	dh $@ --parallel --with autotools_dev

.PHONY: $(dh_targets)

WARNFLAGS = -Wall -Wno-write-strings -Wno-comments

override_dh_auto_configure:
	dh_auto_configure -- CFLAGS="$(WARNFLAGS)" CXXFLAGS="$(WARNFLAGS)"

override_dh_installchangelogs:
	dh_installchangelogs --package=raidutils -XChangeLog
	dh_installchangelogs --no-package=raidutils