Uses GNU Make extensions for now, which is probably not as it should.
On the other hand, much of the source code requires GCC, and
SEQ_SOCKPACKET is only available on Linux anyway, so it probably
doesn't make a whole lot of difference.
-SUBDIRS = lib src
+SUBDIRS = lib src doc
EXTRA_DIST = etc
src/Makefile
src/dirplex/Makefile
lib/Makefile
+doc/Makefile
])
--- /dev/null
+/*.7
+/*.1
+/*.html
+/*.css
--- /dev/null
+dist_man1_MANS = callcgi.1 dirplex.1 htparser.1 patplex.1 sendfile.1 userplex.1
+dist_man7_MANS = ashd.7
+
+%.7 %.1: %.doc
+ a2x -f manpage $<
+
+%.html: %.doc
+ a2x -f xhtml $<
+
+manpages: $(dist_man1_MANS) $(dist_man7_MANS)
+
+htmldoc: $(patsubst %.doc, %.html, *.doc)
+
+EXTRA_DIST = *.doc