File: rules

package info (click to toggle)
notify-osd 0.9.35+15.04.20150126-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 2,016 kB
  • ctags: 1,837
  • sloc: ansic: 17,819; python: 1,100; makefile: 457; cs: 335; sh: 103; xml: 48
file content (33 lines) | stat: -rwxr-xr-x 826 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make -f

export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

# tests require being run against a system install
override_dh_auto_test:

override_dh_install:
	dh_install --fail-missing
	rm debian/notify-osd/usr/share/dbus-1/services/org.freedesktop.Notifications.service
	rmdir debian/notify-osd/usr/share/dbus-1/services/
	rmdir debian/notify-osd/usr/share/dbus-1/

override_dh_installchangelogs:
	dh_installchangelogs debian/changelog.upstream


override_dh_auto_test:

pre-build:
ifeq (,$(filter nochanges,$(DEB_BUILD_OPTIONS)))
	bzr log --gnu -r ..tag:$(shell bzr tags -d nosmart+lp:notify-osd | \
		sort -k 2 -n | tail -n 1 | tr ' ' '\n' | head -n 1) \
		nosmart+lp:notify-osd > debian/changelog.upstream
endif

.PHONY: pre-build