diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 20:03:44 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 20:03:44 (GMT) |
commit | 1339bae9d968a7fcbec1a004fb99b99920dc4908 (patch) | |
tree | e53b557d314342a3668f2a297fe08c5e26a617f0 | |
parent | c3308e6e51d3d241b57996cfa95660b88b05a1d4 (diff) | |
download | blt-1339bae9d968a7fcbec1a004fb99b99920dc4908.zip blt-1339bae9d968a7fcbec1a004fb99b99920dc4908.tar.gz blt-1339bae9d968a7fcbec1a004fb99b99920dc4908.tar.bz2 |
add doc
-rwxr-xr-x | Makefile.in | 12 |
1 files 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 |