Build system: Know how to build adnshost.txt
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 20 Oct 2014 00:09:29 +0000 (01:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 20 Oct 2014 00:09:29 +0000 (01:09 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
.gitignore
Makefile.in

index 1d187cd..e85580f 100644 (file)
@@ -11,6 +11,7 @@ settings.make
 *.so
 *.a
 *~
+adnshost.txt
 x.gdb
 client/Makefile
 client/adnstest_s
index 4e8f7ef..4faa50b 100644 (file)
@@ -44,7 +44,7 @@ all-here install-here uninstall-here distprep-here:   README
 
 clean-here mostlyclean-here:
                rm -f *~ ./#*# core *.orig *.rej adns-*.tar.gz
-               rm -rf dist_tmp
+               rm -rf dist_tmp web adnshost.txt
 
 distclean-here maintainer-clean-here:  clean-here
        rm -f settings.make config.cache config.log config.status Makefile
@@ -65,6 +65,9 @@ dist:                 distprep
        gzip -9 $(dist_tmp).tar
        mv $(dist_tmp).tar.gz .
 
+adnshost.txt: all
+       client/adnshost_s --help >$@.tmp && mv -f $@.tmp $@
+
 check:                 all
        $(MAKE) -C regress check