File: rules

package info (click to toggle)
wp2x 2.5-mhi-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 708 kB
  • ctags: 629
  • sloc: ansic: 2,068; makefile: 80; perl: 70; sh: 40
file content (17 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-
export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

override_dh_installman:
	dh_installman
	# Correct section
	mv debian/wp2x/usr/share/man/man1/wp2x.1l \
	   debian/wp2x/usr/share/man/man1/wp2x.1 \

%:
	dh $@