File: rules

package info (click to toggle)
maq 0.7.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,476 kB
  • sloc: cpp: 5,025; ansic: 3,333; sh: 3,303; perl: 2,547; makefile: 31
file content (22 lines) | stat: -rwxr-xr-x 565 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 $@

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