File: rules

package info (click to toggle)
netrik 1.16.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 3,272 kB
  • ctags: 729
  • sloc: ansic: 6,657; sh: 994; makefile: 114
file content (25 lines) | stat: -rwxr-xr-x 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DESTDIR=$(CURDIR)/debian/netrik

%:
	dh $@ --with autoreconf

override_dh_auto_build:
	dh_auto_build
	dh_auto_build -- docs

override_dh_auto_install:
	dh_auto_install
	rm -f $(CURDIR)/debian/netrik/usr/share/doc/netrik/LICENSE
	rm -f $(CURDIR)/debian/netrik/usr/share/doc/netrik/COPYING
	rm -f $(CURDIR)/debian/netrik/usr/share/doc/netrik/NEWS

override_dh_compress:
	dh_compress -XREADME

override_dh_installchangelogs:
	dh_installchangelogs NEWS