File: rules

package info (click to toggle)
moreutils 0.69-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 416 kB
  • sloc: ansic: 2,504; sh: 1,040; perl: 480; makefile: 80
file content (21 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS

# Prevent the makefile from stripping, in case it's being built in
# unstripped mode.
export INSTALL_BIN=install

%:
	dh $@

override_dh_installchangelogs:
	dh_installchangelogs
	@echo Installing upstream changelog
	install --verbose -D \
		debian/changelog.upstream \
		debian/moreutils/usr/share/doc/moreutils/changelog