From 4bd6f73a7764263f4b4dabfd4f11b292ec84c1e9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel <derf@derf.homelinux.org> Date: Tue, 24 Aug 2010 18:21:32 +0200 Subject: Makefile: add disttest target --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3