File: rules

package info (click to toggle)
rapiddisk 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 852 kB
  • sloc: ansic: 6,738; sh: 1,364; makefile: 325; python: 105
file content (25 lines) | stat: -rwxr-xr-x 697 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
25
#!/usr/bin/make -f
#export DH_VERBOSE = 1

# See FEATURE AREAS in dpkg-buildflags(1).
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# See ENVIRONMENT in dpkg-buildflags(1).
# Package maintainers to append CFLAGS.
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

include /usr/share/dpkg/pkg-info.mk


%:
	dh $@ --sourcedirectory=src

# the upstream install target *silently* breaks without failing
# if INSTALL is overridden by dh_*
override_dh_auto_install:

execute_after_dh_install-indep:
	dh_install -prapiddisk-dkms module/Makefile module/*.c usr/src/rapiddisk-$(DEB_VERSION_UPSTREAM)

execute_before_dh_fixperms-arch:
	chmod -x debian/rapiddisk/usr/lib/systemd/system/rapiddiskd.service