summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-10 12:12:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-10 12:12:47 +0200
commitdc7b6060de4655daec1670a34f8d7ecd69b37b52 (patch)
tree4e7fd623e47dd9704bcbdb3ed8d0e5cfb442eadc /Makefile
parent3b1630378468b5fd637344e08dbe67a342361c7f (diff)
Added basic tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80ea68d..7cd4733 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,9 @@ build/apt-why.1: bin/apt-why
mkdir -p build
pod2man $< > $@
+test: test/main
+ sh $<
+
install: build/apt-why.1
mkdir -p $(prefix)/bin $(prefix)/share/man/man1
cp bin/apt-why $(prefix)/bin
@@ -18,4 +21,4 @@ uninstall:
rm -f $(prefix)/bin/apt-why
rm -f $(prefix)/share/man/man1/apt-why.1
-.PHONY: clean install uninstall
+.PHONY: clean install test uninstall