File: rules

package info (click to toggle)
ayatana-indicator-printers 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 840 kB
  • sloc: ansic: 1,385; makefile: 130; xml: 127; sh: 30
file content (31 lines) | stat: -rwxr-xr-x 740 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@ --without autoreconf

override_dh_auto_configure:
	NOCONFIGURE=1 ./autogen.sh
	dh_auto_configure -- \
		--disable-static

override_dh_install:
	find debian/ayatana-indicator-printers -name \*.la -delete
	find debian/ayatana-indicator-printers -name \*.a -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_clean:
	dh_auto_clean
	# no clue, why they don't disappear during make distclean...
	rm -f config.sub config.guess

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..