summaryrefslogtreecommitdiffstats
path: root/usr.sbin/stallion
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-12-17 13:04:18 +0000
committerbde <bde@FreeBSD.org>1997-12-17 13:04:18 +0000
commitf2787bdeb2f7f44a49a49b6e60e726a33b5dfbdd (patch)
tree5ed3fd0c55841343bf8a91fea417ef8e159f593f /usr.sbin/stallion
parentb3974ccc447dc11b845e2cfb61d25b3002776143 (diff)
downloadFreeBSD-src-f2787bdeb2f7f44a49a49b6e60e726a33b5dfbdd.zip
FreeBSD-src-f2787bdeb2f7f44a49a49b6e60e726a33b5dfbdd.tar.gz
Use the default LIBOWN, etc. instead of clobbering the defaults to bin,
etc., so that (this part of) `LIBOWN=... make world' can be run by users other than root. Actually, use BINOWN instead of LIBOWN, since the files that we install in /usr/libdata are not libraries, and LIBOWN is not used for anything else in /usr/libdata. Rewrote all the rules and cleaned up.
Diffstat (limited to 'usr.sbin/stallion')
-rw-r--r--usr.sbin/stallion/bootcode/Makefile38
1 files changed, 12 insertions, 26 deletions
diff --git a/usr.sbin/stallion/bootcode/Makefile b/usr.sbin/stallion/bootcode/Makefile
index 415143a..d026830 100644
--- a/usr.sbin/stallion/bootcode/Makefile
+++ b/usr.sbin/stallion/bootcode/Makefile
@@ -1,34 +1,20 @@
-# $Id: Makefile,v 1.6 1997/03/13 04:21:21 davidn Exp $
+# $Id: Makefile,v 1.7 1997/10/20 12:50:56 charnier Exp $
-FILES = 2681.sys cdk.sys
+.SUFFIXES: .uu
+.uu:
+ rm -f ${.TARGET}
+ uudecode ${.IMPSRC}
-MAN4 = stl.4
-
-LIBMODE = 444
-LIBOWN = bin
-LIBGRP = bin
+FILES= 2681.sys cdk.sys
CLEANFILES= ${FILES}
-MLINKS = stl.4 stli.4
-all: $(FILES)
+MAN4= stl.4
+MLINKS= stl.4 stli.4
-install: maninstall
- @if [ ! -d ${DESTDIR}${BOOTDIR} ]; then mkdir ${DESTDIR}${BOOTDIR};fi
- @for i in ${FILES}; do \
- ${ECHO} "installing $$i into ${DESTDIR}${BOOTDIR}"; \
- ${INSTALL} ${COPY} -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
- $$i ${DESTDIR}${BOOTDIR}; \
- done
+all: $(FILES)
-clean:
- rm -f ${CLEANFILES}
+beforeinstall:
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ ${FILES} ${DESTDIR}${BOOTDIR}
.include <bsd.prog.mk>
-
-cdk.sys: ${.CURDIR}/cdk.sys.uu
- @rm -f $@
- uudecode ${.CURDIR}/$@.uu
-
-2681.sys: ${.CURDIR}/2681.sys.uu
- @rm -f $@
- uudecode ${.CURDIR}/$@.uu
OpenPOWER on IntegriCloud