File: rules

package info (click to toggle)
collectl 4.3.1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,048 kB
  • sloc: perl: 17,531; sh: 434; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 411 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

# 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
	mv $(CURDIR)/debian/collectl/etc/init.d/collectl  $(CURDIR)/debian/collectl.init

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/debian/collectl.init