File: rules

package info (click to toggle)
nicstat 1.95-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 448 kB
  • ctags: 905
  • sloc: ansic: 8,988; sh: 194; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 291 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

CFLAGS ?= -g -O2

%:
	dh $@

override_dh_clean:
	dh_clean
	make -f Makefile.Linux clean

override_dh_auto_build:
	make -f Makefile.Linux CFLAGS="$(CFLAGS)" nicstat

override_dh_installdocs:
	cp ChangeLog.txt debian/nicstat/usr/share/doc/nicstat/changelog
	dh_installdocs