Browse Source

split off distribution-etc-root-var target, which is useful; from graichen

OPENBSD_2_0
deraadt 28 years ago
parent
commit
0343415190
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/etc/Makefile

+ 6
- 4
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 1996/09/06 17:26:58 deraadt Exp $
# $OpenBSD: Makefile,v 1.26 1996/09/17 07:18:15 deraadt Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific LOCALTIME= US/Pacific
@ -31,12 +31,11 @@ WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
all clean cleandir depend etc install lint: all clean cleandir depend etc install lint:
.ifndef DESTDIR .ifndef DESTDIR
distribution distrib-dirs snapshot:
distribution-etc-root-var distribution distrib-dirs snapshot:
@echo setenv DESTDIR before doing that! @echo setenv DESTDIR before doing that!
@false @false
.else .else
distribution: distrib-dirs
(cd ..; ${MAKE} install)
distribution-etc-root-var: distrib-dirs
install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
cat etc.${MACHINE}/ttys ttys.pty > ${DESTDIR}/etc/ttys && \ cat etc.${MACHINE}/ttys ttys.pty > ${DESTDIR}/etc/ttys && \
chown ${BINOWN} ${DESTDIR}/etc/ttys && \ chown ${BINOWN} ${DESTDIR}/etc/ttys && \
@ -135,6 +134,9 @@ distribution: distrib-dirs
.endif .endif
(cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution) (cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
distribution: distribution-etc-root-var
(cd ..; ${MAKE} install)
hcx9-distribution: hcx9-distribution:
(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \ (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
${DESTDIR}/) ${DESTDIR}/)


Loading…
Cancel
Save