Browse Source

install mtree always

okay deraadt@
OPENBSD_4_8
espie 14 years ago
parent
commit
a3075aac0b
1 changed files with 13 additions and 11 deletions
  1. +13
    -11
      src/etc/Makefile

+ 13
- 11
src/etc/Makefile View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.286 2010/02/22 15:15:54 claudio Exp $
# $OpenBSD: Makefile,v 1.287 2010/03/23 21:31:02 espie Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
MTREEDIR= /etc/mtree
NOOBJ= NOOBJ=
@ -49,6 +50,16 @@ GZIPEXT=
all clean cleandir depend etc install lint: all clean cleandir depend etc install lint:
install-mtree:
${INSTALL} -c -o root -g wheel -m 600 ${.CURDIR}/mtree/special \
${DESTDIR}${MTREEDIR}
${INSTALL} -c -o root -g wheel -m 444 ${.CURDIR}/mtree/4.4BSD.dist \
${DESTDIR}${MTREEDIR}
${INSTALL} -c -o root -g wheel -m 444 ${.CURDIR}/mtree/BSD.local.dist \
${DESTDIR}${MTREEDIR}
${INSTALL} -c -o root -g wheel -m 444 ${.CURDIR}/mtree/BSD.x11.dist \
${DESTDIR}${MTREEDIR}
.ifndef DESTDIR .ifndef DESTDIR
distribution-etc-root-var distribution distrib-dirs release: distribution-etc-root-var distribution distrib-dirs release:
@echo setenv DESTDIR before doing that! @echo setenv DESTDIR before doing that!
@ -129,15 +140,6 @@ distribution-etc-root-var: distrib-dirs
cd amd; \ cd amd; \
${INSTALL} -c -o root -g wheel -m 644 master.sample \ ${INSTALL} -c -o root -g wheel -m 644 master.sample \
${DESTDIR}/etc/amd ${DESTDIR}/etc/amd
cd mtree; \
${INSTALL} -c -o root -g wheel -m 600 special \
${DESTDIR}/etc/mtree; \
${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \
${DESTDIR}/etc/mtree; \
${INSTALL} -c -o root -g wheel -m 444 BSD.local.dist \
${DESTDIR}/etc/mtree; \
${INSTALL} -c -o root -g wheel -m 444 BSD.x11.dist \
${DESTDIR}/etc/mtree
cd ppp; \ cd ppp; \
${INSTALL} -c -o root -g wheel -m 600 chap-secrets \ ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \
${DESTDIR}/etc/ppp; \ ${DESTDIR}/etc/ppp; \
@ -307,7 +309,7 @@ update-moduli:
) > moduli ) > moduli
.PHONY: distribution-etc-root-var distribution distrib-dirs \ .PHONY: distribution-etc-root-var distribution distrib-dirs \
release allarchs kernels release-sets m4
release allarchs kernels release-sets m4 install-mtree
SUBDIR+= etc.alpha etc.amd64 etc.armish etc.aviion etc.hp300 etc.hppa SUBDIR+= etc.alpha etc.amd64 etc.armish etc.aviion etc.hp300 etc.hppa
SUBDIR+= etc.hppa64 etc.i386 etc.landisk etc.loongson etc.luna88k SUBDIR+= etc.hppa64 etc.i386 etc.landisk etc.loongson etc.luna88k


Loading…
Cancel
Save