summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 6a14e40b2009ac2503e5dce77d7fc0477ddbc616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifeq ($(DEB_HOST_ARCH_OS),linux)
enable_systemd = --enable-systemd
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-utempter $(enable_systemd)

execute_after_dh_auto_install:
	install -D -m 644 debian/shells \
		$(CURDIR)/debian/tmux/usr/share/debianutils/shells.d/tmux