File: rules

package info (click to toggle)
libgtk2-notify-perl 0.05-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 420 kB
  • ctags: 735
  • sloc: perl: 1,410; makefile: 9; sh: 7; ansic: 6
file content (17 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download | duplicates (2)
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 $@