File: rules

package info (click to toggle)
collectl 4.3.20.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,256 kB
  • sloc: perl: 17,579; sh: 517; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 716 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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	DESTDIR=$(CURDIR)/debian/collectl ./INSTALL
	rm -f $(CURDIR)/debian/collectl/usr/share/doc/collectl/html/COPYING \
	      $(CURDIR)/debian/collectl/usr/share/doc/collectl/html/ARTISTIC\
	      $(CURDIR)/debian/collectl/usr/share/doc/collectl/html/GPL

override_dh_installsystemd:
	dh_installsystemd --name=collectl collectl.service --no-start

override_dh_installinit:
	dh_installinit --no-start

override_dh_fixperms:
	dh_fixperms
	chmod 644 $(CURDIR)/debian/collectl/usr/lib/systemd/system/collectl.service
	chmod 644 $(CURDIR)/debian/collectl/usr/share/collectl/envrules.std