2009-02-22 11:41:30 -05:00
|
|
|
#!/usr/bin/make -f
|
2011-10-21 20:50:09 -04:00
|
|
|
# vi: ts=8 sw=8 noet
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
|
|
-include /usr/share/dpkg/buildflags.mk
|
2011-08-01 08:39:45 -04:00
|
|
|
|
2012-01-23 17:20:10 -05:00
|
|
|
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
|
|
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
|
|
MAKEFLAGS += -j$(NUMJOBS)
|
|
|
|
endif
|
|
|
|
|
2011-12-24 10:24:00 -05:00
|
|
|
build: build-arch build-indep
|
|
|
|
build-arch: build-stamp
|
|
|
|
build-indep: build-stamp
|
2011-08-01 08:39:45 -04:00
|
|
|
build-stamp:
|
2011-10-21 20:50:09 -04:00
|
|
|
dh build
|
|
|
|
touch build-stamp
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
clean:
|
|
|
|
dh clean
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
install: build install-stamp
|
|
|
|
install-stamp:
|
|
|
|
dh install
|
|
|
|
touch install-stamp
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
binary-arch: install
|
|
|
|
dh binary-arch
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
binary-indep: install
|
|
|
|
dh binary-indep
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
binary: binary-arch binary-indep
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
override_dh_auto_build:
|
2012-01-23 17:19:46 -05:00
|
|
|
$(MAKE)
|
2011-10-21 20:50:09 -04:00
|
|
|
$(MAKE) -C man
|
|
|
|
$(MAKE) -C docs
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2012-04-25 17:21:10 -04:00
|
|
|
override_dh_installchangelogs:
|
|
|
|
dh_installchangelogs RELEASE-NOTES-4.2
|
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
override_dh_install:
|
2009-03-11 17:49:41 -04:00
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/i3-wm/ install
|
2009-02-22 11:41:30 -05:00
|
|
|
|
2011-10-21 20:50:09 -04:00
|
|
|
override_dh_strip:
|
2009-04-08 06:21:20 -04:00
|
|
|
dh_strip --dbg-package=i3-wm-dbg
|