summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-05 19:05:13 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-05 19:05:13 +0200
commit1cffd68005a6cfce7a069453f4d9142a712c6af1 (patch)
treebea5cf9d30cef52f464611ec7ff2595cf549451a /Makefile
parente70bc120e82090d705fee0db5272b1ccb4b57cc5 (diff)
Add a test script
I know that there is one in the old SVN repo, but I think a rewrite (with an automated test script) is due.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f2ca42f..53a1b5d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
include config.mk
-default:
+all:
@${MAKE} -C src
+test: all
+ mandoc -Tlint man/*
+ perl test/test.pl ${PACKAGE} ${VERSION}
+
install: install-man install-doc install-bin install-font install-img
install-man:
@@ -59,5 +63,5 @@ uninstall:
clean:
@${MAKE} -C src clean
-.PHONY: default install uninstall clean install-man install-doc install-bin \
+.PHONY: all test install uninstall clean install-man install-doc install-bin \
install-font install-img