summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 3eae61a505d7659f4187a9542a70cf36cbe33f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@ --with=autotools-dev

override_dh_clean:
	[ ! -f buildsys.mk ] || $(MAKE) distclean
	dh_clean

override_dh_installexamples:
	dh_installexamples -X.dep

override_dh_compress:
	dh_compress -Xusr/share/doc/libmowgli-dev/examples

override_dh_strip:
	dh_strip --dbg-package=libmowgli2-dbg

.PHONY: override_dh_clean override_dh_installexamples override_dh_compress override_dh_strip