File: rules

package info (click to toggle)
matchbox-window-manager 1.2-osso21-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,440 kB
  • ctags: 1,181
  • sloc: ansic: 14,948; sh: 3,395; xml: 778; makefile: 122
file content (29 lines) | stat: -rwxr-xr-x 878 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
29
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --with autoreconf -D matchbox-window-manager

override_dh_auto_clean:
	rm -rf build-main build-udeb

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

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

override_dh_autoreconf:
	dh_autoreconf --as-needed

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

override_dh_installchangelogs:
	dh_installchangelogs matchbox-window-manager/ChangeLog