summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-24 07:04:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-24 07:04:18 -0500
commit3663c31914e896b72bcec6b56f17e50ebdd44e6c (patch)
treef5543b8a7c172bb98c409b6af11a1b235e26c9d5 /Makefile
downloadadelie-base-3663c31914e896b72bcec6b56f17e50ebdd44e6c.tar.gz
adelie-base-3663c31914e896b72bcec6b56f17e50ebdd44e6c.tar.bz2
adelie-base-3663c31914e896b72bcec6b56f17e50ebdd44e6c.tar.xz
adelie-base-3663c31914e896b72bcec6b56f17e50ebdd44e6c.zip
Initial commitv0.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b86a5fd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+.POSIX:
+
+all: tree/dev/null tree/dev/tty tree/dev/zero
+
+tree/dev/null:
+ mknod tree/dev/null c 1 3
+ chmod 666 tree/dev/null
+
+tree/dev/tty:
+ mknod tree/dev/tty c 5 0
+ chgrp tty tree/dev/tty
+ chmod 666 tree/dev/tty
+
+tree/dev/zero:
+ mknod tree/dev/zero c 1 5
+ chmod 666 tree/dev/zero
+
+install:
+ cp -au tree/* ${DESTDIR}/
+
+clean:
+ rm tree/dev/null
+ rm tree/dev/tty
+ rm tree/dev/zero
+
+release.tar: tree/*
+ tar -cf release.tar --exclude=release.tar --exclude=.git --format=posix --numeric-owner --owner=0 --group=0 -p --transform="s@./@adelie-base-${VERSION}/@" .