summaryrefslogblamecommitdiff
path: root/Makefile
blob: b86a5fdd230e0886fb29596553a2163b0fb9a72f (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}/@" .