File: rules

package info (click to toggle)
gnome-user-share 3.18.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,724 kB
  • ctags: 259
  • sloc: sh: 4,094; ansic: 769; makefile: 117
file content (30 lines) | stat: -rwxr-xr-x 767 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
#!/usr/bin/make -f

-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

%:
	dh $@ --with gnome

override_dh_autoreconf:
	dh_autoreconf --as-needed

ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFFLAGS = --disable-bluetooth
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=\$${prefix}/lib/gnome-user-share \
		--with-httpd=/usr/lib/apache2/mpm-worker/apache2 \
		--with-modules-path=/usr/lib/apache2/modules/ \
		$(CONFFLAGS)

override_dh_install:
	dh_install
	rm -f debian/gnome-user-share/usr/share/gnome-user-share/dav_user_2.0.conf
	find debian/gnome-user-share -name "*.la" -delete

override_dh_makeshlibs:
	dh_makeshlibs --exclude=libnautilus-share-extension.so