summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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