File: rules

package info (click to toggle)
mcabber 1.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,908 kB
  • sloc: ansic: 20,518; sh: 4,268; makefile: 129; python: 95; perl: 80
file content (23 lines) | stat: -rwxr-xr-x 528 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
#!/usr/bin/make -f

FLAGS = --enable-gpgme --enable-aspell --enable-otr --enable-modules

export DEB_CFLAGS_MAINT_APPEND = -std=gnu17

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(FLAGS)

override_dh_auto_build:
	dh_auto_build
	cd doc/guide/ && TZ=UTC faketime @$(SOURCE_DATE_EPOCH) $(MAKE) guide

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR)/debian/mcabber -name '*.la' -delete

override_dh_auto_clean:
	dh_auto_clean
	cd doc/guide/ && [ ! -f Makefile ] || $(MAKE) clean-guide