diff options
author | phantom <phantom@FreeBSD.org> | 2000-12-11 15:50:04 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2000-12-11 15:50:04 +0000 |
commit | 697c4f2cd847ad9e1aaee911f44dbb387ab2bb20 (patch) | |
tree | 47a6ddb8572f812f0021bca7c10952b0b108fd46 /usr.bin/file/Makefile | |
parent | ee790970190f15c72cd6467762df260062bc6bf7 (diff) | |
download | FreeBSD-src-697c4f2cd847ad9e1aaee911f44dbb387ab2bb20.zip FreeBSD-src-697c4f2cd847ad9e1aaee911f44dbb387ab2bb20.tar.gz |
Re-add home born file(1) and magic(5) manual pages. Update them to
current file(1) version (3.33)
Approved by: obrien
Diffstat (limited to 'usr.bin/file/Makefile')
-rw-r--r-- | usr.bin/file/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile index 9c00d58..9471b7f 100644 --- a/usr.bin/file/Makefile +++ b/usr.bin/file/Makefile @@ -41,7 +41,7 @@ SRCS= file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \ MAN1= file.1 MAN5= magic.5 -CLEANFILES+= magic file.1 magic.5 version +CLEANFILES+= magic MAGFILES= ${SRCDIR}/Header\ ${SRCDIR}/Localstuff\ @@ -52,18 +52,6 @@ all: file magic magic: $(MAGFILES) cat $(MAGFILES) > $(.TARGET) -version: Makefile.std - @sed '/.*VERSION.*=[ ]*/s///w ${.TARGET}' ${.ALLSRC} > /dev/null - -.for MP in file.1 magic.5 -${MP}: ${SRCDIR}/${MP:C/[0-9]$/man/} version - sed -e 's|__CSECTION__|1|g'\ - -e 's|__FSECTION__|5|g'\ - -e 's|__MAGIC__|${MAGICFILE}|g'\ - -e "s|__VERSION__|`cat version`|g"\ - ${SRCDIR}/${MP:C/[0-9]$/man/} > ${.TARGET} -.endfor - beforeinstall: $(INSTALL) $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(MAGICMODE) \ magic $(DESTDIR)$(MAGICFILE) |