]> gitweb.michael.orlitzky.com - mailbox-count.git/blobdiff - makefile
makefile: change the test target to "check" as with autotools.
[mailbox-count.git] / makefile
index bdedde5f250079072b1d141356aa230981d43ad4..6a99594b9b3afb28aec8d8b378a2a2f6f5add8da 100644 (file)
--- a/makefile
+++ b/makefile
@@ -31,7 +31,7 @@ $(DOCTESTS_BIN): $(PN).cabal $(SRCS) $(TEST_SRCS)
        runghc Setup.hs configure --user --enable-tests
        runghc Setup.hs build
 
-test: $(BIN) $(TESTSUITE_BIN) $(DOCTESTS_BIN)
+check: $(BIN) $(TESTSUITE_BIN) $(DOCTESTS_BIN)
        runghc Setup.hs test
 
 
@@ -51,6 +51,6 @@ hlint:
 
 clean:
        runghc Setup.hs clean
-       find ./ -name '*.prof' -delete
-       find ./ -name '*.o' -delete
-       find ./ -name '*.hi' -delete
+       find ./ -type f -name '*.prof' -delete
+       find ./ -type f -name '*.o' -delete
+       find ./ -type f -name '*.hi' -delete