fbaa6d4a3d
Building a non-optimized (-O0 vs. -O2) Debian package required: echo 'export DEB_BUILD_OPTIONS=noopt' >> ~/.pbuilderrc
40 lines
629 B
Makefile
Executable File
40 lines
629 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-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
|
|
|
|
override_dh_auto_build:
|
|
$(MAKE)
|
|
$(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
|