Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
debian/compat: bump debhelper compat level to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Mar 6, 2016
1 parent 6011084 commit 3ee7828
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 38 deletions.
2 changes: 1 addition & 1 deletion debian/compat
@@ -1 +1 @@
7
9
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -2,7 +2,7 @@ Source: i3-wm
Section: x11
Priority: extra
Maintainer: Michael Stapelberg <stapelberg@debian.org>
Build-Depends: debhelper (>= 7.0.50~),
Build-Depends: debhelper (>= 9),
libx11-dev,
libxcb-util0-dev (>= 0.3.8),
libxcb-keysyms1-dev,
Expand Down
2 changes: 2 additions & 0 deletions debian/i3-wm.install
@@ -0,0 +1,2 @@
etc
usr
42 changes: 6 additions & 36 deletions debian/rules
@@ -1,47 +1,17 @@
#!/usr/bin/make -f
# vi: ts=8 sw=8 noet

DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif

build: build-arch build-indep
build-arch: build-stamp
build-indep: 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
export V:=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_build:
$(MAKE)
$(MAKE) -C man
$(MAKE) -C docs
dh_auto_build -- all docs mans

override_dh_installchangelogs:
dh_installchangelogs RELEASE-NOTES-*

override_dh_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/i3-wm/ install

override_dh_strip:
dh_strip --dbg-package=i3-wm-dbg

%:
dh $@ --parallel

0 comments on commit 3ee7828

Please sign in to comment.