| 1 |
#!/usr/bin/make -f |
| 2 |
# debian/rules file for maq |
| 3 |
# (C) Charles Plessy, Andreas Tille |
| 4 |
# GPL |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
#needed to make the zlib headers behave (they don't like the combination |
| 9 |
#of _FILE_OFFSET_BITS=64 but not _LARGEFILE64_SOURCE |
| 10 |
CFLAGS+= -D_LARGEFILE64_SOURCE |
| 11 |
|
| 12 |
%: |
| 13 |
dh $@ |
| 14 |
|
| 15 |
override_dh_compress: |
| 16 |
dh_compress --exclude=.pdf |
| 17 |
|
| 18 |
override_dh_installman: |
| 19 |
dh_installman |
| 20 |
# when installing via debian/manpages the .pl is stripped and the |
| 21 |
# files will end up in /usr/share/man/pl/man1 |
| 22 |
cp -a debian/mans/*.1 debian/maq/usr/share/man/man1 |