]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
cleanups, docs updated and added a make release target which packs
authorMiek Gieben <miekg@NLnetLabs.nl>
Wed, 11 May 2005 11:12:15 +0000 (11:12 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Wed, 11 May 2005 11:12:15 +0000 (11:12 +0000)
everything in a nice tar ball for on the website

COMPILE
Makefile.in
README
README-snapshots
doc/README-parser [moved from README-parser with 100% similarity]

diff --git a/COMPILE b/COMPILE
index 762335ed0ff2ac8fccff7b06aa352f7d060af72d..201b577034944bd46ab735defae42c4c4b0646b3 100644 (file)
--- a/COMPILE
+++ b/COMPILE
@@ -12,5 +12,6 @@ For compilation you need gmake and the gnu autotools.
 
 Extract the source and in the source directory:
 libtoolize && autoreconf && ./configure && gmake
+(or use ./setup)
 
 (or just make on Linux)
index ea1cbd10f195051051f0898be2a60a6ca1a75a64..1b3b16f250aea8a61db06ab511bd86ad09d83ef7 100644 (file)
@@ -70,7 +70,7 @@ LINK_LIB      = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)
 
 .PHONY:        clean realclean docclean doc lint test all lib
 .PHONY: install uninstall install-doc uninstall-doc 
-.PHONY: install-h uninstall-h install-lib uninstall-lib snapshot
+.PHONY: install-h uninstall-h install-lib uninstall-lib snapshot release
 
 all:           lib
 
@@ -124,6 +124,12 @@ snapshot:  realclean testclean
                (cd .. ; tar --verbose  --exclude ".svn" --create --file ldns-snap-$(DATE).tar.gz --gzip ldns-snap-$(DATE)/)
                (rm -rf ../ldns-snap-$(DATE)/)
 
+release:       realclean testclean
+               (rm -rf ../ldns-$(VERSION)/)
+               (cd .. ; cp -r $(basesrcdir)/ ldns-$(VERSION)/)
+               (cd .. ; tar --verbose  --exclude ".svn" --create --file ldns-$(VERSION).tar.gz --gzip ldns-$(VERSION)/)
+               (rm -rf ../ldns-$(VERSION)/)
+
 mx:            mx.o $(LIBDNS_OBJECTS) $(LIBOBJS)
                $(LINK) ${LIBS} -o $@ $+
 
@@ -155,6 +161,7 @@ tests/run-test19:   tests/run-test19.o $(LIBDNS_OBJECTS) $(LIBOBJS)
 
 clean: 
        rm -f *.o *.d 
+       rm -f *~
        rm -f $(TESTS)
        rm -f tests/*.o
        rm -f $(PROG_TARGETS)
@@ -187,7 +194,11 @@ docclean:
        rm -f doc/ldns_manpages
 
 libclean:
-       $(LIBTOOL) --mode clean $(LIBDNS_LOBJECTS)
+       $(LIBTOOL) --mode clean rm -f libldns.la
+       $(LIBTOOL) --mode clean rm -f libldns.a
+       $(LIBTOOL) --mode clean rm -f libldns.so
+       $(LIBTOOL) --mode clean rm -f libldns.so.*
+       rm -rf *.lo
        rm -rf .libs
        rm -rf libtool
 
diff --git a/README b/README
index e0e13ce88c15b356c60cc405575624afc965678e..207ac5ce0c0215d6f06c7519633bc0dd4a73d95a 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,15 @@
 Some general readme information would be nice. Most up to date is 
 website: www.nlnetlabs.nl/ldns/
 
+On that page you can also subscribe to the ldns mailing list.
+
 * Development
 ldns is developed on Linux and FreeBSD.
+
+INSTALLATION
+1. Unpack the tarball
+2. cd ldns-<VERSION>
+3. libtoolize
+4. ./configure
+5. gmake (it needs gnu make to compile)
+(6. gmake mx chaos [two example programs included])
index 4b4467bfe9dd97af04369da359f2f7a1d1d59bc7..8bc8c39f96742ad45282cb6c4d8dae4eb9cf936d 100644 (file)
@@ -1,11 +1,7 @@
 ldns - snapshot releases
 
 These release are a snapshot of the ongoing development of ldns. Each
-snapshot release has a specific date tight to it.
+snapshot release has a specific date added to it.
 
 INSTALLATION
-1. Unpack the tarball
-2. cd ldns-snap-<DATE>
-3. ./configure
-4. gmake (it needs gnu make to compile)
-(5. gmake mx chaos [two example programs included]
+See README
similarity index 100%
rename from README-parser
rename to doc/README-parser