SUBDIRS_DYNAMIC=
endif
+WEBDIR=web
+
SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
all install uninstall clean distclean mostlyclean maintainer-clean distprep:
adnshost.txt: all
client/adnshost_s --help >$@.tmp && mv -f $@.tmp $@
+web-install: adnshost.txt
+ test -e $(WEBDIR) || mkdir $(WEBDIR)
+ $(INSTALL_DATA) $(srcdir)/README.html $(WEBDIR)/index.html
+ $(INSTALL_DATA) $(srcdir)/src/adns.h $(WEBDIR)/adns.h.txt
+ $(INSTALL_DATA) COPYING $(WEBDIR)/COPYING.txt
+ $(INSTALL_DATA) adnshost.txt $(WEBDIR)/
+
check: all
$(MAKE) -C regress check
scripts to do simple lookups. In a more advanced mode it can be used
as a general-purpose DNS helper program for scripting languages which
can invoke and communicate with subprocesses. See the
-<A href="http://www.chiark.greenend.org.uk/~ian/adns/adnshost.txt">adnshost
+<A href="adnshost.txt">adnshost
usage message</A> for a summary of its capabilities.
</ul>
I'm afraid there is no manual yet. However, competent C programmers
should be able to use the library based on the
-<A href="http://www.chiark.greenend.org.uk/~ian/adns/adns.h.txt">commented
+<A href="adns.h.txt">commented
adns.h header file</A>, and the usage messages for the programs should
be sufficient.
<h2>Documentation</h2>
<ul>
-<li><A href="http://www.chiark.greenend.org.uk/~ian/adns/adns.h.txt">adns.h
+<li><A href="adns.h.txt">adns.h
API header file with documentation comments</A>
-<li><A href="http://www.chiark.greenend.org.uk/~ian/adns/adnshost.txt">usage
+<li><A href="adnshost.txt">usage
message for adnshost</A>
</ul>
be useful, but <em>without any warranty</em>; without even the implied
warranty of <em>merchantability</em> or <em>fitness for a particular
purpose</em>. See the
-<A href="http://www.chiark.greenend.org.uk/~ian/COPYING.txt">GNU
+<A href="COPYING.txt">GNU
General Public License</A> for more details.
<p>