1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_ALWAYS_EXCLUDE=.gitignore
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
mandir := $(CURDIR)/debian/man
%:
dh $@
override_dh_install:
dh_install
d-shlibmove --commit \
--multiarch \
--exclude-la \
--movedev "debian/tmp/usr/include/snp-sites/*.h" usr/include/snp-sites \
debian/tmp/usr/lib/*/libsnp-sites.so
find debian -name "lib*.la" -delete
override_dh_installman:
mkdir -p $(mandir)
asciidoctor -a docdate='' -b manpage $(CURDIR)/snp-sites.txt
mv $(CURDIR)/snp-sites.1 $(mandir)
dh_installman --
|