From: Miek Gieben Date: Tue, 26 Apr 2005 11:58:28 +0000 (+0000) Subject: make doc creates all documentation X-Git-Tag: release-0.50~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4070b737828fb70d8df5106ef1db7e156f0d22d2;p=thirdparty%2Fldns.git make doc creates all documentation doc/Makefile now creates the manual pages Only need to fix/create make install --- diff --git a/Makefile.in b/Makefile.in index 0e8b9f45..a38cfbee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,6 +104,7 @@ run-test19: run-test19.o $(LIBDNS_OBJECTS) $(LIBOBJS) doc: doxygen libdns.doxygen + (cd doc; make) clean: rm -f *.o *.d *.lo diff --git a/doc/Makefile b/doc/Makefile index 8b7785c4..dbaf0d63 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,14 +1,9 @@ - -str2host.xml: html/str2host_8c.html - links -dump html/str2host_8c.html | ./make-xml-from-dox.pl > str2host.xml - -API2.xml: str2host.xml API-header.xml API-footer.xml - cat API-header.xml str2host.xml API-footer.xml > API2.xml - xml2rfc API2.xml +all: function_manpages + cat ../ldns/*.h | ./doxyparse.pl -m function_manpages clean: rm -f *.txt - rm -f str2host.xml - rm -f API2.xml rm -f *.html - + rm -rf html + rm -rf man + rm -rf latex diff --git a/doc/Makefile.manpages b/doc/Makefile.manpages deleted file mode 100644 index 58e79e68..00000000 --- a/doc/Makefile.manpages +++ /dev/null @@ -1,7 +0,0 @@ -all: function_manpages - echo "./doxyparse.pl -m function_manpages < ../ldns/*.h" - echo "This doesn't do anything yet" - -clean: - rm -rf man/ - diff --git a/doc/rfc2629.dtd b/doc/rfc2629.dtd deleted file mode 100644 index 9ae39b3c..00000000 --- a/doc/rfc2629.dtd +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ldns/host2wire.h b/ldns/host2wire.h index 929c1a0b..8056aebb 100644 --- a/ldns/host2wire.h +++ b/ldns/host2wire.h @@ -45,7 +45,7 @@ ldns_status ldns_rr_rdata2buffer_wire(ldns_buffer *output, ldns_rr *rr); ldns_status ldns_pkt2buffer_wire(ldns_buffer *output, const ldns_pkt *pkt); -ldns_status ldns_rr_list2buffer_wire(ldns_buffer *, ldns_rr_list *); +ldns_status ldns_rr_list2buffer_wire(ldns_buffer *buf, ldns_rr_list *rrlist); /** * Allocates an array of uint8_t at dest, and puts the wireformat of the @@ -80,6 +80,6 @@ ldns_status ldns_rr2wire(uint8_t **dest, const ldns_rr *rr, int, size_t *size); * length of the array, if it succeeds, and 0 otherwise (in which case * the function also returns NULL) */ -ldns_status ldns_pkt2wire(uint8_t **dest, const ldns_pkt *, size_t *); +ldns_status ldns_pkt2wire(uint8_t **dest, const ldns_pkt *p, size_t *size); #endif