File: rules

package info (click to toggle)
appstream-glib 0.7.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,088 kB
  • sloc: ansic: 37,376; xml: 823; sh: 25; makefile: 24; cpp: 1
file content (38 lines) | stat: -rwxr-xr-x 794 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
37
38
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1

AS_CONFIGURE_ARGS = -Dbuilder=false \
		-Drpm=false \
		-Dostree=false \
		-Ddep11=true \
		-Dfirmware=true \
		-Dgtk-doc=true

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

%:
	dh $@ -Smeson --with=gir

override_dh_clean:
	dh_clean
	rm -rf $(CURDIR)/debian/tmp-xdg-runtime-dir

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_missing:
	dh_missing --fail-missing

override_dh_auto_test:
	XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-xdg-runtime-dir dh_auto_test