File: rules

package info (click to toggle)
budgie-session 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,208 kB
  • sloc: ansic: 16,181; xml: 982; sh: 49; makefile: 13; python: 12
file content (19 lines) | stat: -rwxr-xr-x 398 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

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

%:
	dh $@

ifeq (linux,$(DEB_HOST_ARCH_OS))
CONFFLAGS = -Dsystemd=true -Dsystemd_journal=true
else
CONFFLAGS = -Dsystemd=false -Dsystemd_journal=false
endif

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr \
		$(CONFFLAGS)