File: rules

package info (click to toggle)
tasque 0.1.12-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,420 kB
  • ctags: 1,744
  • sloc: cs: 11,981; sh: 10,754; makefile: 148
file content (26 lines) | stat: -rwxr-xr-x 608 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
#!/usr/bin/make -f

VERSION = $(shell dpkg-parsechangelog --show-field=Version)

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	ENABLE_APPINDCATOR = --enable-appindicator=yes
else
	ENABLE_APPINDCATOR = --enable-appindicator=no
endif

override_dh_auto_configure:
	dh_auto_configure -- \
	--enable-standard-backends=yes \
	$(ENABLE_APPINDCATOR) \
	GMCS=/usr/bin/mono-csc

override_dh_auto_build:
	pod2man --section=1 --release=$(VERSION) --center "" debian/tasque.pod > debian/tasque.1
	dh_auto_build

override_dh_auto_clean:
	rm -f tasque.1
	dh_auto_clean

%:
	dh $@ --with cli,autoreconf