#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --without-setuid

execute_after_dh_install:
	rmdir $(CURDIR)/debian/nwall/var/lock/nwall/pts $(CURDIR)/debian/nwall/var/lock/nwall $(CURDIR)/debian/nwall/var/lock
	# Not sure it makes sense to have a log file in
	# the deb. But that is what 1.32+debian-8 had
	# and so it was preserved (1:1).
	touch $(CURDIR)/debian/nwall/var/log/nwall.log

