File: rules

package info (click to toggle)
iselect 1.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 872 kB
  • sloc: sh: 3,353; ansic: 2,074; perl: 485; makefile: 109
file content (28 lines) | stat: -rwxr-xr-x 668 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
26
27
28
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# Workaround for compiling with GCC 10, see #957376
export DEB_CFLAGS_MAINT_APPEND=-fcommon

%:
	dh $@

override_dh_autoreconf:
	mkdir -p debian/backup
	mv -v iselect.1 config_ac.h.in configure debian/backup/
	dh_autoreconf

override_dh_clean:
	-mv -vf debian/backup/* ./
	dh_clean

override_dh_auto_install:
	dh_auto_install -- prefix=debian/iselect/usr mandir='$${prefix}/share/man'

override_dh_compress:
	dh_compress -Xgotourl -Xilogin -Xmelm -Xmtin -Xscvs