summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-24 18:21:32 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-24 18:21:32 +0200
commit4bd6f73a7764263f4b4dabfd4f11b292ec84c1e9 (patch)
tree0f16721f263ca5c9a589a2dc1cb75450439e912e
parent6fe75f7fef3bf0e92acf6c7e9f77c27162fca8e7 (diff)
Makefile: add disttest target
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 26f5ec5..fff6c0d 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,14 @@ dist:
tar -C /tmp -cjf ../feh-${VERSION}.tar.bz2 feh-${VERSION}
rm -r /tmp/feh-${VERSION}
+disttest: dist
+ tar -C /tmp -xjf ../feh-${VERSION}.tar.bz2
+ make -C /tmp/feh-${VERSION}
+ make -C /tmp/feh-${VERSION} test
+ make -C /tmp/feh-${VERSION} install DESTDIR=./install
+ make -C /tmp/feh-${VERSION} uninstall DESTDIR=./install
+ rm -r /tmp/feh-${VERSION}
+
clean:
@${MAKE} -C src clean
@${MAKE} -C man clean