File: rules

package info (click to toggle)
hal-flash 0.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,424 kB
  • sloc: sh: 11,146; ansic: 413; makefile: 37
file content (22 lines) | stat: -rwxr-xr-x 464 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with autoreconf

override_dh_install:
	dh_install
	find $(CURDIR)/debian -type f -name 'libhal.la' -exec rm -f '{}' \;

override_dh_link:
	dh_link
	find $(CURDIR)/debian -type l -name 'libhal.so' -exec rm -f '{}' \;

override_dh_auto_test: