File: rules

package info (click to toggle)
tasque 0.1.12-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,416 kB
  • ctags: 1,743
  • sloc: cs: 11,981; sh: 10,754; makefile: 147
file content (24 lines) | stat: -rwxr-xr-x 547 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
#!/usr/bin/make -f

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