File: rules

package info (click to toggle)
btrfsmaintenance 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: sh: 855; python: 50; makefile: 18
file content (24 lines) | stat: -rwxr-xr-x 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM

%:
	dh $@

override_dh_installdeb:
	dh_installdeb
	chmod +x debian/btrfsmaintenance/usr/share/btrfsmaintenance/*.sh

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/tmp
	debian/create-man-page.sh

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start btrfs-balance.timer
	dh_installsystemd --no-enable --no-start btrfs-defrag.timer
	dh_installsystemd --no-enable --no-start btrfs-scrub.timer
	dh_installsystemd --no-enable --no-start btrfs-trim.timer
	dh_installsystemd --no-enable --no-start btrfsmaintenance-refresh.path
	dh_installsystemd --no-enable --no-start btrfsmaintenance-refresh.service