File: rules

package info (click to toggle)
appstream-glib 0.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,876 kB
  • sloc: ansic: 36,768; sh: 4,781; makefile: 815; xml: 354; sed: 16
file content (36 lines) | stat: -rwxr-xr-x 849 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
34
35
36
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1

AS_CONFIGURE_ARGS = --disable-silent-rules \
		--disable-builder \
		--disable-rpm \
		--disable-ostree \
		--enable-dep11 \
		--enable-firmware

# Define install target dir
INSTALLDIR = $(CURDIR)/debian/tmp

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(AS_CONFIGURE_ARGS)

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTALLDIR)

	rm -f $(INSTALLDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/*.a
	rm -f $(INSTALLDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/*.la

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_install:
	dh_install --list-missing

override_dh_auto_test:
	# DISABLED
	# Tests currently fail with `dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.`
	# on some machines - needs to be investigated.