summaryrefslogblamecommitdiff
path: root/Makefile
blob: bce5c585bd3a832e37d8da43cf3d5965fd68fd2f (plain) (tree)

























                                             
                                                                                                                                                                      
.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}/@" .