1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CFLAGS += -I/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/include
TEST_FILES=$(filter-out t/notification.t,$(shell echo t/*.t))
override_dh_auto_configure:
dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
override_dh_auto_test:
#chmod +x debian/with-notification-daemon
#dbus-launch xvfb-run -a debian/with-notification-daemon dh_auto_test
xvfb-run -a dh_auto_test -- TEST_FILES="$(TEST_FILES)"
%:
dh $@
|