File: rules

package info (click to toggle)
nicstat 1.95%2Bgit20150820.3c2407d-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 368 kB
  • sloc: ansic: 6,747; sh: 194; makefile: 50
file content (19 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

CFLAGS ?= -g -O2

%:
	dh $@ --buildsystem=makefile

override_dh_clean:
	dh_clean
	make -f Makefile clean

override_dh_auto_build:
	dh_auto_build -- -f Makefile CFLAGS="$(CFLAGS)" nicstat

override_dh_auto_install:
	echo "Install files via dh_install not via Makefile"

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.txt