An elegant way to fix this bug is to override CDBS' simple copying raw changelog file, but instead generate plaintext and html formats from markdown source, like this:
--- haskell-hslua-module-text-0.2.1.old/debian/control +++ haskell-hslua-module-text-0.2.1/debian/control @@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 10), haskell-devscripts (>= 0.8), cdbs, + cmark-gfm, ghc (>= 8.4.3), ghc-prof, libghc-hslua-dev (>= 1.1), diff -ru haskell-hslua-module-text-0.2.1./debian/rules haskell-hslua-module-text-0.2.1/debian/rules --- haskell-hslua-module-text-0.2.1.old/debian/rules +++ haskell-hslua-module-text-0.2.1/debian/rules @@ -4,7 +4,19 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup DEB_CABAL_PACKAGE = hslua-module-text DEB_DEFAULT_COMPILER = ghc +DEB_INSTALL_CHANGELOGS_ALL = ChangeLog.html ChangeLog.txt LC_ALL=C.UTF-8 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk + +%.html: %.md + cmark-gfm $< > $@ + +%.txt: %.md + cmark-gfm --to plaintext $< > $@ + +common-build-arch common-build-indep:: $(DEB_INSTALL_CHANGELOGS_ALL) + +clean:: + rm -f $(DEB_INSTALL_CHANGELOGS_ALL) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature