doc: adjust txt2tags usage for versions >=3.3
authorMichael Prokop <mika@grml.org>
Tue, 12 May 2020 14:19:33 +0000 (16:19 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 12 May 2020 15:07:03 +0000 (17:07 +0200)
commit7ece11476eedb951357fc90d57a37af270ad797d
tree3c16d1efa22b792d8e9457117fc9a6fee0ee64d9
parent7c81531c90c9fb23296f4d297bc2f4a0772793af
doc: adjust txt2tags usage for versions >=3.3

1) drop --css-sugar option from txt2tags as it is no longer supported

Quoting from https://sources.debian.org/src/txt2tags/3.4-2/CHANGELOG.md/,
respectively /usr/share/doc/txt2tags/changelog.gz as present in current
Debian/unstable:

| * Always use CSS sugar and drop `--css-sugar` option (Jendrik Seipp).

2) the xhtml target is also gone since v3.3

Quoting the changelog:

| # Version 3.3 (2019-11-04)
|
| * Update html target to HTML5 and drop xhtml target (Jendrik Seipp).

Also see https://github.com/txt2tags/txt2tags regarding v2.7 vs. v3.x

NOTE: the output of txt2tags v2.6-4.1 (as present in Debian/buster) is
not really useable now. We don't depend on txt2tags >=3.4-2 as present
in Debian/unstable though, as we don't use the HTML build output during
the package build.
doc/Makefile