File: rules

package info (click to toggle)
budgie-indicator-applet 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 156 kB
  • sloc: ansic: 889; makefile: 66; sh: 16
file content (24 lines) | stat: -rwxr-xr-x 590 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

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

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
INDICATOR_IMPLEMENTATION=--with-ubuntu-indicators=yes
else
INDICATOR_IMPLEMENTATION=--with-ayatana-indicators=yes
endif

%:
	dh $@
	
override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --libdir=/usr/lib $(INDICATOR_IMPLEMENTATION)

override_dh_auto_install:
	dh_auto_install
	find debian -name \*.la -exec rm {} \;