File: rules

package info (click to toggle)
awesome 4.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,412 kB
  • sloc: ansic: 14,508; sh: 525; makefile: 44
file content (22 lines) | stat: -rwxr-xr-x 570 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

%:
	dh $@ --buildsystem=cmake --builddirectory=build

override_dh_auto_configure: debian/awesome.xpm
	dh_auto_configure -- -DSYSCONFDIR=/etc

debian/awesome.xpm: icons/awesome32.png
	convert $< $@

override_dh_auto_test:
	# run unit tests here.
	# the generic check target also runs integration tests,
	# which are better suited as autopkgtest.
	$(MAKE) -C build check-unit

override_dh_installchangelogs:
	install -D -T docs/89-NEWS.md debian/awesome/usr/share/doc/awesome/NEWS
	dh_installchangelogs