File: rules

package info (click to toggle)
gpaste 3.30.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,712 kB
  • sloc: ansic: 13,430; sh: 120; makefile: 101
file content (29 lines) | stat: -rwxr-xr-x 700 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFFLAGS := 	--with-systemduserunitdir=/usr/lib/systemd/user \
		--enable-introspection \
		--enable-appstream-util \
		--enable-applet \
		--enable-vala=no

%:
	dh $@ --with gir

override_dh_autoreconf:
	dh_autoreconf -- ./autogen.sh

override_dh_auto_configure:
ifeq (gnome-shell-extensions-gpaste,$(filter gnome-shell-extensions-gpaste,$(shell dh_listpackages)))
	dh_auto_configure -- $(CONFFLAGS) \
			     --enable-gnome-shell-extension
else
	dh_auto_configure -- $(CONFFLAGS) \
			     --disable-gnome-shell-extension
endif

override_dh_clean:
	dh_clean
	rm -f po/Makefile.in.in m4/intltool.m4 config.log