don't double-install docs already installed by debian/docs

parent fab96eb8
......@@ -20,10 +20,16 @@ LOCALE_FILES=( i18n/de/*.mo:${LOCALEDIR}/de/LC_MESSAGES/
i18n/it/*.mo:${LOCALEDIR}/it/LC_MESSAGES/
i18n/ru/*.mo:${LOCALEDIR}/ru/LC_MESSAGES/ )
DOC_FILES=( docs/*.html:${DOCDIR}
docs/img/*.png:${DOCDIR}/img
docs/img-style/*.png:${DOCDIR}/img-style
{AUTHORS,COPYING,COPYING.ICONS,CREDITS,NEWS,README}:${DOCDIR} )
if [[ ! ${FROM_PACKAING_SCRIPT} ]]; then
DOC_FILES=( docs/*.html:${DOCDIR}
docs/img/*.png:${DOCDIR}/img
docs/img-style/*.png:${DOCDIR}/img-style
{AUTHORS,COPYING,COPYING.ICONS,CREDITS,NEWS,README}:${DOCDIR} )
else
DOC_FILES=( docs/*.html:${DOCDIR}
docs/img/*.png:${DOCDIR}/img
docs/img-style/*.png:${DOCDIR}/img-style )
fi
BIN_FILES=( data/bashstyle:${BINDIR}
bin-extra/*:${DATADIR}/bin
......
script-not-executable
unusual-interpreter
......@@ -2,6 +2,7 @@
export DH_VERBOSE = 1
export DISABLE_POSTINSTALL = 1
export FROM_PACKAGING_SCRIPT = 1
%:
dh $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment