tables: add expand options
rewrite README.md
add srht build manifests
disallow invalid characters in document name

Makes using invalid chars in the name a fatal error.
Before this, "foo | bar(1)" would parse as "foobar(1)".
Modification of a patch by Zandr Martin <git@zandr.me>.
first pass of the mdoc/build changes

- Add kristaps@ oconfigure script, cut down to onlt the parts we need.
  As such, remove the config.mk file and add configure files to
- Move all parse(er)? functions to parser.c, rename util.c to parser.h.
  This cuts down the size of main.c.
- Expand str.h -> string.h for consistency
- Start outputting mdoc in the following:
    - Document preamble
    - Headings
    - Indented blocks (buggy)
    - Code/Literal blocks
    - Bulleted, numbered lists
- Remove/replace unneeded code
    - Remove roff_macro and anything using the output stream.
      Since we only output to stdout we only need printf/(f)?puts.
    - Simplify some of the utf8 code.
      This changed some function signatures to void,
      since we weren't using the return value or it was guaranteed to
      never fail.
    - Rewrite code to use the new oconfigure functions
      (strtonum, err, reallocarray).
    - Remove all asserts relating to bad mallocs,
      just exit instead.
- Add my name to COPYING, reflow text to 72 lines.
set SOURCE_DATE_EPOCH directly in testfile

This avoids using the non-standard -d/--date flag of GNU date(1)
remove printing the preamble

Also remove setting the version number as a macro, as there is no code
that needs it now
support reading files from arguments
simplify Makefile

- Move all flags & install directories into a user editable config.mk
- Remove unneeded gmakeisms (?=, .PHONY)
- Set the header dependancies for each source file. Done by using the
  builtin .o make rule.
- Use DESTDIR when installing files
- Add a rule to generate a version tarball using `git archive`
Inital K&R reformatting of sources
headerfile improvements

- header includes into main files
- sort all includes
- change utf8.h comment format
- rename header guards
- define the size of the parser queue with a preprocessor statement
major build improvements

- Move sourcefiles to main dir
- Concat all utf8_*.c into one utf8.c
- Rename unicode.h to utf8.h
- Simplify Makefile
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
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

Fixes https://todo.sr.ht/~sircmpwn/scdoc/23
Fix installation on FreeBSD