i3/debian/rules
Fernando Tarlá Cardoso Lemos b8df07d8cf Bump dh compat to 7, simplify debian/rules.
Also added hardening flags. We can't enable PIE because i3bar seems
to have problems with that. We also shouldn't enable bindnow, as it
the startup performance penalty (though probably not too bad) might
not be acceptable for i3-msg and i3-input.
2011-10-23 11:07:22 +01:00

38 lines
599 B
Makefile
Executable File

#!/usr/bin/make -f
# vi: ts=8 sw=8 noet
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
build: build-stamp
build-stamp:
dh build
touch build-stamp
clean:
dh clean
install: build install-stamp
install-stamp:
dh install
touch install-stamp
binary-arch: install
dh binary-arch
binary-indep: install
dh binary-indep
binary: binary-arch binary-indep
override_dh_auto_build:
$(MAKE) TERM_EMNU=x-terminal-emulator
$(MAKE) -C man
$(MAKE) -C docs
override_dh_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/i3-wm/ install
override_dh_strip:
dh_strip --dbg-package=i3-wm-dbg