chiark / gitweb /
Do not ship config.cache (run distclean from make dist). Rearrange
[adns.git] / Makefile.in
index b661d5d784aed91a6daa013d7d15038d5c94a465..a0f13df640d7889e636111530fccf3d0fa416bf9 100644 (file)
@@ -1,6 +1,6 @@
-# adnsMakefile - top-level Makefile
+# Makefile - top-level Makefile
 # 
-#  This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson
+#  This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson
 #  
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 #  along with this program; if not, write to the Free Software Foundation,
 #  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
 
-DISTVERSION=   0.1
+DISTVERSION=   0.3
 
 srcdir=                @srcdir@
 VPATH=         @srcdir@
@@ -27,10 +27,11 @@ all install uninstall clean distclean mostlyclean maintainer-clean distprep:
        set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
        $(MAKE) $@-here
 
-all-here install-here uninstall-here distprep-here:
+all-here install-here uninstall-here distprep-here:    README
 
 clean-here mostlyclean-here:
-               rm -f *~ ./#*# core *.orig *.rej Makefile
+               rm -f *~ ./#*# core *.orig *.rej Makefile adns-*.tar.gz
+               rm -rf dist_tmp
 
 distclean-here maintainer-clean-here:  clean-here
                rm -f settings.make config.h config.cache config.log config.status
@@ -39,7 +40,7 @@ install-strip:
        $(MAKE) INSTALL_PROGRAM_FLAGS=-s
 
 dist_tmp=dist_tmp/adns-$(DISTVERSION)
-dist:                  distprep
+dist:                  distclean distprep
        rm -rf dist_tmp*
        mkdir dist_tmp $(dist_tmp)
        find \( -name CVS -o -name dist_tmp* \) -prune -o -type d -print | \
@@ -53,5 +54,10 @@ dist:                        distprep
 check:                 all
        $(MAKE) -C regress check
 
+README README-update:
+       lynx -dump -number_links -cfg=/dev/null \
+               http://www.chiark.greenend.org.uk/~ian/adns/ >README.tmp
+       mv -f README.tmp README
+
 TAGS info dvi:
        # do nothing