summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ff4ff3a..b2afaaa 100644
--- a/Makefile
+++ b/Makefile
@@ -29,4 +29,8 @@ devices.tar.gz:
chmod 755 dev
(cd dev && $(MAKEDEV) std ptmx fd consoleonly)
tar cf - dev | gzip -9 >devices.tar.gz
+ @if [ "$$(tar tvf devices.tar.gz | wc -l)" -lt 2 ]; then \
+ echo " ** devices.tar.gz is empty!" >&2; \
+ exit 1; \
+ fi
rm -rf dev