1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/share/info/Makefile
Peter Wemm 4d1680b452 Make this slightly less bogus. I'm not 100% sure what is correct here,
but replacing the "dir" file unconditionally isn't it.  During the course
of development, if .info files go away from the sources, nothing removes
them from /usr/share/info, this is the same as system binaries etc.
Removing the entire index isn't helpful, because you've got to reinstall
the entire tree to get it back again.  bsd.info.mk has a reference to
/usr/share/info/dir-tmpl, I wonder if it once created dir if needed?
1997-01-12 07:23:58 +00:00

16 lines
384 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/5/93
NOOBJ= noobj
all clean cleandir depend lint tags:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
${DESTDIR}${BINDIR}/info/dir-tmpl
if [ ! -f ${DESTDIR}${BINDIR}/info/dir ]; then \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
${DESTDIR}${BINDIR}/info/dir ; \
fi
.include <bsd.prog.mk>