From 1339bae9d968a7fcbec1a004fb99b99920dc4908 Mon Sep 17 00:00:00 2001 From: William Joye Date: Thu, 16 Jun 2016 16:03:44 -0400 Subject: add doc --- Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5854d96..2699ca3 100755 --- a/Makefile.in +++ b/Makefile.in @@ -181,7 +181,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(C # for the BINARIES that you specified above have already been done. #======================================================================== -all: binaries libraries #doc +all: binaries libraries doc #======================================================================== # The binaries target builds executable programs, Windows .dll's, unix @@ -201,12 +201,12 @@ libraries: #======================================================================== doc: - @echo "If you have documentation to create, place the commands to" - @echo "build the docs in the 'doc:' target. For example:" - @echo " xml2nroff sample.xml > sample.n" - @echo " xml2html sample.xml > sample.html" + @list='$(srcdir)/doc/*.n'; for i in $$list; do \ + echo "Processing $$i"; \ + nroff -Tascii -man $$i | man2html > $${i%.n}.html ; \ + done -install: all install-binaries install-libraries #install-doc +install: all install-binaries install-libraries install-doc install-binaries: binaries install-lib-binaries install-bin-binaries -- cgit v0.12