diff options
author | ru <ru@FreeBSD.org> | 2001-12-17 16:02:15 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-12-17 16:02:15 +0000 |
commit | 7ed2dfe749dd701cbc6aca6e4a6e793edf77677a (patch) | |
tree | 34039ae06c9de6e13744d15639ba2f610aadb72e /usr.bin/file | |
parent | 57dd87fb9e79b4b3f97950043aedb652eb63035a (diff) | |
download | FreeBSD-src-7ed2dfe749dd701cbc6aca6e4a6e793edf77677a.zip FreeBSD-src-7ed2dfe749dd701cbc6aca6e4a6e793edf77677a.tar.gz |
Install files via FILES.
Diffstat (limited to 'usr.bin/file')
-rw-r--r-- | usr.bin/file/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile index 3a1e4b0..c55055e 100644 --- a/usr.bin/file/Makefile +++ b/usr.bin/file/Makefile @@ -29,13 +29,15 @@ SRCS= file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \ # compress.c is_tar.c readelf.c internat.c print.c MAGICPATH= /usr/share/misc -MAGICMODE= 444 CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DBUILTIN_ELF -DELFCORE -DHAVE_CONFIG_H CFLAGS+= -I${.CURDIR} -I${SRCDIR} CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.PITA +FILES= magic magic.mgc ${SRCDIR}/magic.mime magic.mime.mgc +FILESDIR= ${MAGICPATH} + MAGFILES= ${SRCDIR}/Header\ ${SRCDIR}/Localstuff\ ${SRCDIR}/Magdir/[a-z]* @@ -59,9 +61,4 @@ mkmagic: apprentice.c print.c ${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \ -I${.CURDIR} -I${SRCDIR} -o ${.TARGET} ${.ALLSRC} -beforeinstall: - ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${MAGICMODE} \ - magic magic.mgc ${SRCDIR}/magic.mime magic.mime.mgc \ - ${DESTDIR}${MAGICPATH} - .include <bsd.prog.mk> |