1# Main Makefile for ht://Dig 2# Copyright (c) 1995-2004 The ht://Dig Group 3# For copyright details, see the file COPYING in your distribution 4# or the GNU Library General Public License version 2 or later 5# <http://www.gnu.org/copyleft/lgpl.html> 6 7include $(top_srcdir)/Makefile.config 8 9if TESTS 10TESTDIR = test 11endif 12 13SUBDIRS = db htlib htword htcommon htnet htfuzzy htdb htdig htsearch httools installdir include htdoc $(TESTDIR) 14 15EXTRA_DIST = .version Makefile.config ChangeLog.0 contrib 16 17dist-hook: 18 find $(distdir) -depth -name CVS -print | xargs rm -fr 19 20# 21# If --enable-tests is not specified, should remove 22# the test/Makefile anyway 23# 24distclean-local: 25 if test "X$(TESTDIR)" = "Xtest" ; \ 26 then \ 27 rm -f test/Makefile test/test_functions ; \ 28 fi 29 30install-data-hook: 31 @echo "" 32 @echo "Installation done." 33 @echo "" 34 @echo "Before you can start searching, you will need to create a" 35 @echo "search database. A sample script to do this has been" 36 @echo "installed as " $(DESTDIR)$(bindir)/rundig 37