]> mj.ucw.cz Git - nsc-5.git/commitdiff
2.99a prerelease.
authorMartin Mares <mj@ucw.cz>
Sat, 20 Dec 2003 21:14:41 +0000 (21:14 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 20 Dec 2003 21:14:41 +0000 (21:14 +0000)
README
dist/Makefile

diff --git a/README b/README
index 2f201ea08744fe404c72d98583d61ec0675934f5..019d0bb09b596690ecbc6958682e0977a29c22d8 100644 (file)
--- a/README
+++ b/README
@@ -1,10 +1,18 @@
 
-            Domain Name Server Configuration Utilities -- NSC 2.3
+            Domain Name Server Configuration Utilities -- NSC 3.0
 
-                   (c) 1997--2001 Martin Mares <mj@ucw.cz>
+                   (c) 1997--2003 Martin Mares <mj@ucw.cz>
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+#### BIG FAT WARNING ####
+
+NSC 3.0 is close to having been rewritten from scratch. However, the documentation
+has not been updated yet, only the example configs in cf/* were.
+
+#### BIG FAT END OF WARNING ####
+
+
    NSC is a set of shell and M4 scripts for easy maintenance of all domain name
 server files (including configuration and zone files). It requires BIND 8.X,
 GNU bash and GNU m4 to be installed on the system. All programs have been
index ac0158f023e5d0b42cc89ff76ef2a9bf6d5f9d2c..a2b9dec101ee337f821d6ea20a7a9595605c272a 100644 (file)
@@ -1,6 +1,16 @@
+VER=$(shell cd .. ; basename `pwd`)
+
+dist: clean
+       mkdir tmp
+       ( cd ../.. ; tar cf - $(VER) --exclude CVS --exclude dist ) | ( cd tmp ; tar xf - )
+       ( cd tmp/$(VER) ; rm -rf cf cf.ucw ; mv cf.dist cf )
+       ( cd tmp ; tar czvvf /tmp/$(VER).tar.gz $(VER) )
+       rm -rf tmp
+
 clean:
        if [ -f ../Makefile ] ; then cd .. ; make distclean ; fi
        rm -f `find .. -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
+       rm -rf tmp
 
-dist: clean
-       sh -c 'cd .. ; X=`pwd` ; X=`basename $$X` ; cd .. ; tar czvvf /tmp/$$X.tar.gz $$X --exclude CVS --exclude dist'
+#dist: clean
+#      sh -c 'cd .. ; X=`pwd` ; X=`basename $$X` ; cd .. ; tar czvvf /tmp/$$X.tar.gz $$X --exclude CVS --exclude dist'