chiark / gitweb /
Build system: Know how to build adnshost.txt
[adns.git] / Makefile.in
index 4e8f7ef57efea3a1c0d500e3e7d1d223542134ca..4faa50b5df759ba93114b703e9e36e654202df6b 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