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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
Description := $(shell sed -e ':a; N; s/\n/$${Newline}/; ta' < debian/Description)
%:
dh $@ --parallel --with bash-completion --with autoreconf
override_dh_auto_configure-indep:
dh_auto_configure -- --with-blas=blas --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) && $(MAKE) -C lib doxygen-doc && touch $@
override_dh_auto_configure-arch:
dh_auto_configure -- --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_strip:
dh_strip --dbg-package=libfreecontact0-dbg
override_dh_compress:
dh_compress -Xlibfreecontact.tag -Xdemo_1000.aln -XPF00071_v25_999.fa -XPF00071_v25_999.xml
override_dh_gencontrol:
dh_gencontrol -- '-VDescription=$(Description)'
override_dh_install:
dh_install
d-shlibmove --commit \
--multiarch \
--exclude-la \
--devunversioned \
--override s/libblas3-dev/libblas-dev/ \
--v5 \
--override s/libgfortran3-dev/libgfortran-6-dev/ \
--override s/libquadmath0-dev/libgcc-6-dev/ \
--override s/liblapack3-dev/liblapack-dev/ \
--movedev debian/tmp/usr/include/* usr/include \
debian/tmp/usr/lib/*/*.so
override_dh_bash-completion:
echo "Until bug #668254 is fixed we need to override this"
mkdir -p debian/freecontact/usr/share/bash-completion/completions
cp -a freecontact.bash-completion debian/freecontact/usr/share/bash-completion/completions
override_dh_installdocs:
dh_installdocs
find debian -name jquery.js -delete
override_dh_auto_clean:
rm -f build-indep-stamp
dh_auto_clean
get-orig-source:
mkdir -p ../tarballs
uscan --verbose --force-download
|