summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b483020..a389191 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,12 @@ VERSION := $(shell sed 's/.*(\(.*\)).*/\1/; q' debian/changelog)
MAKEDEV := /sbin/MAKEDEV
+ifneq ($(shell uname),GNU)
all: devices.tar.gz
+else
+all:
+endif
+
clean:
rm -f devices.tar.gz
rm -rf dev
@@ -20,7 +25,9 @@ install:
chown root:root $(DESTDIR)/usr/sbin/debootstrap
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
+ifneq ($(shell uname),GNU)
install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
+endif
devices.tar.gz:
rm -rf dev