gri3-wm/debian/rules

48 lines
868 B
Plaintext
Raw Normal View History

2009-02-22 17:41:30 +01:00
#!/usr/bin/make -f
# vi: ts=8 sw=8 noet
2009-02-22 17:41:30 +01:00
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
2011-08-01 14:39:45 +02:00
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
2011-08-01 14:39:45 +02:00
build-stamp:
dh build
touch build-stamp
2009-02-22 17:41:30 +01:00
clean:
dh clean
2009-02-22 17:41:30 +01:00
install: build install-stamp
install-stamp:
dh install
touch install-stamp
2009-02-22 17:41:30 +01:00
binary-arch: install
dh binary-arch
2009-02-22 17:41:30 +01:00
binary-indep: install
dh binary-indep
2009-02-22 17:41:30 +01:00
binary: binary-arch binary-indep
2009-02-22 17:41:30 +01:00
override_dh_auto_build:
$(MAKE)
$(MAKE) -C man
$(MAKE) -C docs
2009-02-22 17:41:30 +01:00
override_dh_installchangelogs:
dh_installchangelogs RELEASE-NOTES-*
override_dh_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/i3-wm/ install
2009-02-22 17:41:30 +01:00
override_dh_strip:
dh_strip --dbg-package=i3-wm-dbg