File: rules

package info (click to toggle)
gnome-user-share 3.28.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,952 kB
  • sloc: sh: 4,177; ansic: 768; makefile: 114
file content (25 lines) | stat: -rwxr-xr-x 684 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed

%:
	dh $@ --with gnome

override_dh_autoreconf:
	dh_autoreconf --as-needed

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" -print -delete

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