File: rules

package info (click to toggle)
gnome-commander 1.18.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,796 kB
  • sloc: cpp: 44,542; xml: 3,929; lex: 600; sh: 80; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 582 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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dauto_features=enabled \
		-Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),disabled,enabled)

execute_after_dh_installdocs-arch:
	appstreamcli metainfo-to-news debian/gnome-commander/usr/share/metainfo/org.gnome.gnome-commander.appdata.xml \
	 debian/gnome-commander/usr/share/doc/gnome-commander/NEWS

override_dh_missing:
	dh_missing -X usr/include

override_dh_auto_test:
	xvfb-run -a dh_auto_test