File: rules

package info (click to toggle)
ttysnoop 0.12d-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 296 kB
  • ctags: 276
  • sloc: ansic: 3,239; makefile: 96
file content (20 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

CFLAGS = -O2 -g -Wall
export CFLAGS

DESTDIR = debian/ttysnoop

%:
	dh $@

override_dh_auto_install:
	mkdir -p $(DESTDIR)/usr/sbin
	install ttysnoop $(DESTDIR)/usr/sbin/
	install ttysnoops $(DESTDIR)/usr/sbin/
	mkdir -p $(DESTDIR)/etc
	install -m 644 snooptab.dist $(DESTDIR)/etc/snooptab

override_dh_install:
	dh_installchangelogs README
	dh $@