mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
protect against .orig files resulting from a patch.
This commit is contained in:
parent
fc89fda03c
commit
57faf8220e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2004/05/19 02:32:35 tedu Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2008/11/09 23:00:42 espie Exp $
|
||||
|
||||
MAGIC= /etc/magic
|
||||
MAGICOWN= root
|
||||
@ -19,7 +19,7 @@ MAGFILES= $(.CURDIR)/magdir/Header\
|
||||
$(.CURDIR)/magdir/OpenBSD\
|
||||
$(.CURDIR)/magdir/[0-9a-z]*
|
||||
magic: $(MAGFILES)
|
||||
cat $(MAGFILES) > $(.TARGET)
|
||||
cat ${.ALLSRC:N*.orig} > $(.TARGET)
|
||||
|
||||
afterinstall:
|
||||
${INSTALL} ${INSTALL_COPY} -o $(MAGICOWN) -g $(MAGICGRP) -m $(MAGICMODE) magic \
|
||||
|
Loading…
Reference in New Issue
Block a user