Author: metze
Date: 2006-09-06 09:06:49 +0000 (Wed, 06 Sep 2006)
New Revision: 18148

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18148

Log:
- use PHONY for test
- don't try to install with make test
- add make distclean and realdistclean

metze
Modified:
   branches/SAMBA_4_0/source/lib/tdb/Makefile.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2006-09-06 08:47:32 UTC 
(rev 18147)
+++ branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2006-09-06 09:06:49 UTC 
(rev 18148)
@@ -14,6 +14,8 @@
 builddir = @builddir@
 CFLAGS = -I$(srcdir)/include -Iinclude [EMAIL PROTECTED]@ @CFLAGS@
 
+.PHONY: test
+
 PROGS = bin/tdbtool bin/tdbtorture
 TDB_OBJ = @TDBOBJ@ @LIBREPLACEOBJ@
 
@@ -61,10 +63,18 @@
 bin/tdbbackup: tools/tdbbackup.o libtdb.a
        $(CC) $(CFLAGS) -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb
 
+test: bin/tdbtorture
+       bin/tdbtorture
+
+installcheck: test install
+
 clean:
-       rm -f $(PROGS) common/*.o tools/*.o *~ *.bak */*~ */*.bak *% core 
test.db test.tdb test.gdbm
+       rm -f $(PROGS) common/*.o tools/*.o test.db test.tdb test.gdbm
 
-installcheck: install
-       $(bindir)/tdbtorture
+distclean: clean
+       rm -f *~ */*~
+       rm -f config.log config.status config.h
+       rm -f Makefile
 
-test: installcheck
+realdistclean: distclean
+       rm -f configure config.h.in

Reply via email to