File: rules

package info (click to toggle)
blackbox 0.70.1-38
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,508 kB
  • sloc: cpp: 17,592; sh: 8,756; makefile: 1,036; awk: 25
file content (25 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export PVER=$(shell dpkg-parsechangelog --show-field version | cut -d"-" -f1)

confflags := \
				--enable-shared \
				$(NULL)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)

override_dh_auto_build:
	$(MAKE) DEFAULT_MENU=/etc/X11/blackbox/blackbox-menu

override_dh_install:
	dh_install
	rm -f $(CURDIR)/debian/blackbox/usr/share/blackbox/menu

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(PVER)