File: rules

package info (click to toggle)
uucpsend 1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 192 kB
  • sloc: ansic: 969; makefile: 53
file content (20 lines) | stat: -rwxr-xr-x 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

include /usr/share/dpkg/buildtools.mk

%:
	dh $@

# Makefile hardcodes CC and CFLAGS
override_dh_auto_build:
	dh_auto_build -- CC="$(CC)" CFLAGS="$(CFLAGS)"

# Makefile is not using DESTDIR and has wrong path for manpages
# delegating install to d/install and d/manpages
override_dh_auto_install:

# Fix uucpsend.ctl ownership
execute_after_dh_fixperms:
	chown news:news -- "$(CURDIR)/debian/uucpsend/etc/news/uucpsend.ctl"