File: rules

package info (click to toggle)
matchbox-window-manager 1.2.2%2Bgit20200512-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,508 kB
  • sloc: ansic: 14,759; xml: 778; makefile: 119; sh: 16
file content (28 lines) | stat: -rwxr-xr-x 784 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
26
27
28
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+fortify


%:
	dh $@

override_dh_auto_clean:
	rm -rf build-main build-udeb

override_dh_auto_build:
	dh_auto_build -Bbuild-main
	dh_auto_build -Bbuild-udeb

override_dh_auto_configure:
	mkdir build-main build-udeb
	dh_auto_configure -Bbuild-main -- --enable-startup-notification --enable-expat --disable-xsettings
	dh_auto_configure -Bbuild-udeb -- --disable-startup-notification --disable-expat \
		--disable-keyboard --disable-xrm --disable-ping-protocol --enable-standalone -- disable-xsettings

override_dh_auto_install:
	dh_auto_install -Bbuild-main --destdir=debian/matchbox-window-manager

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog