File: rules

package info (click to toggle)
blackbox 0.70.1-40
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,544 kB
  • sloc: cpp: 17,593; sh: 8,756; makefile: 1,035; awk: 25
file content (24 lines) | stat: -rwxr-xr-x 488 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
23
24
#!/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

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

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(PVER)