use TZ=UTC in test case
Update version to 1.9.4
Fix SOURCE_DATE_EPOCH test w/busybox date
Fix the "Ignores underscores in underlined words" test

The test produced the following output:
Ignores underscores in underlined words test/inline-formatting: line 26: end0: not found
2fc5114f — Jan Beich a month ago
Drop install -D flag after acb0f64a7b73

On DragonFly, FreeBSD and NetBSD -Dm644 treats m644 as destdir, so
install(1) keeps executable bit on manpages and pkg-config file.

$ make -s install DESTDIR=/tmp/foo
$ find /tmp/foo -type f -ls | awk '{ print $3, $NF }'
-rwxr-xr-x /tmp/foo/usr/local/bin/scdoc
-rwxr-xr-x /tmp/foo/usr/local/lib/pkgconfig/scdoc.pc
-rwxr-xr-x /tmp/foo/usr/local/share/man/man5/scdoc.5
-rwxr-xr-x /tmp/foo/usr/local/share/man/man1/scdoc.1
Add a pkg-config template

Fix installation on FreeBSD
Update version to 1.9.2
parse_text: return if next is UTF8_INVALID

In the underscore case, the next character is retrieved to check
whether the underscore is at a word break. However, if this character
is UTF8_INVALID, the call to parser_pushch will be a noop. This
results in the loop continuing on further than it should. This just
adds a check to see if next is UTF8_INVALID and returns if it is.

Signed-off-by: Brian Ashworth <>
Update version to 1.9.1
f1db2e16 — Carlo Abelli a month ago
fix underscores in underlined words

Currently, the first underscore encountered while underlining ends
underlining. As a result, underscores in underlined words are not
ignored e.g. _hello_world_ does not parse correctly.

This checks the next character to see if it is still in a word before
ending underlining.
Update version to 1.9.0
132278d9 — Francis Dinh a month ago
Fix link to mailing list in README
Replace localtime with gmtime

The localtime() function gives the time relative to the users time.
This makes the generated manpage non reproducible. gmtime() gives
the time as UTC.
Allow continuation of table cells on the next line
Add pkg-config file, scdoc -v
Update version to 1.8.1
Use !isalnum instead of isspace for this_stuff
Update version to 1.8.0
Use a more robust approach for in-word-underscores