]> git.proxmox.com Git - ksm-control-daemon.git/blame - debian/rules
updates for PVE 4.0 (Debian Jessie)
[ksm-control-daemon.git] / debian / rules
CommitLineData
03e54684 1#!/usr/bin/make -f
03e54684 2
1642c475
DM
3# output every command that modifies files on the build system.
4#DH_VERBOSE = 1
03e54684 5
1642c475
DM
6# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7DPKG_EXPORT_BUILDFLAGS = 1
8include /usr/share/dpkg/default.mk
03e54684 9
1642c475
DM
10%:
11 dh $@ --with quilt,systemd
03e54684 12
03e54684 13
1642c475 14destdir := $(CURDIR)/debian/ksm-control-daemon
03e54684 15
1642c475 16override_dh_auto_install:
03e54684
DM
17 # Add here commands to install the package into debian/ksm-control-scripts.
18 #$(MAKE) DESTDIR=$(CURDIR)/debian/ksm-control-scripts install
19
1642c475 20 #install -D -m 0755 $(CURDIR)/ksmtuned.init $(destdir)/etc/init.d/ksmtuned
03e54684
DM
21 install -D -m 0755 $(CURDIR)/ksmtuned $(destdir)/usr/sbin/ksmtuned
22 install -D -m 0644 $(CURDIR)/debian/defaults $(destdir)/etc/default/ksmtuned
23 install -D -m 0644 $(CURDIR)/ksmtuned.conf $(destdir)/etc/ksmtuned.conf
24
1642c475
DM
25override_dh_systemd_enable:
26 dh_systemd_enable --name ksmtuned