File: rules

package info (click to toggle)
maq 0.7.1-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,476 kB
  • ctags: 1,130
  • sloc: cpp: 5,025; ansic: 3,333; sh: 3,303; perl: 2,547; makefile: 31
file content (22 lines) | stat: -rwxr-xr-x 583 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
#!/usr/bin/make -f
# debian/rules file for maq
# (C) Charles Plessy, Andreas Tille
# GPL

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

#needed to make the zlib headers behave (they don't like the combination
#of _FILE_OFFSET_BITS=64 but not _LARGEFILE64_SOURCE
CFLAGS+= -D_LARGEFILE64_SOURCE

%:
	dh $@ --with autoreconf

override_dh_compress:
	dh_compress --exclude=.pdf

override_dh_installman:
	dh_installman
	# when installing via debian/manpages the .pl is stripped and the
	# files will end up in /usr/share/man/pl/man1
	cp -a debian/mans/*.1 debian/maq/usr/share/man/man1