Browse Source

hidden magic is stupid

OPENBSD_3_1
deraadt 23 years ago
parent
commit
1a8059a3bc
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/etc/Makefile

+ 6
- 6
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.149 2002/02/14 19:40:54 deraadt Exp $
# $OpenBSD: Makefile,v 1.150 2002/02/16 01:20:42 deraadt Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific LOCALTIME= US/Pacific
@ -336,25 +336,25 @@ MAKEDEVARCHS+= sun3
MAKEDEVARCHS+= vax MAKEDEVARCHS+= vax
all: all:
@make M=${MACHINE} m4
# make M=${MACHINE} m4
clean: clean:
rm -f etc.${MACHINE}/MAKEDEV rm -f etc.${MACHINE}/MAKEDEV
cleandir: cleandir:
@cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
make MACHINE=$$m clean; done make MACHINE=$$m clean; done
m4: etc.${M}/MAKEDEV m4: etc.${M}/MAKEDEV
etc.${M}/MAKEDEV: MAKEDEV.sub MAKEDEV.mi etc.${M}/MAKEDEV.md etc.${M}/MAKEDEV: MAKEDEV.sub MAKEDEV.mi etc.${M}/MAKEDEV.md
@echo "==> etc.${M}/MAKEDEV"
@m4 -DMACHINE=${M} MAKEDEV.mi > etc.${M}/.MAKEDEV.tmp && \
echo "==> etc.${M}/MAKEDEV"
m4 -DMACHINE=${M} MAKEDEV.mi > etc.${M}/.MAKEDEV.tmp && \
mv etc.${M}/.MAKEDEV.tmp etc.${M}/MAKEDEV || \ mv etc.${M}/.MAKEDEV.tmp etc.${M}/MAKEDEV || \
rm etc.${M}/.MAKEDEV.tmp rm etc.${M}/.MAKEDEV.tmp
allarchs: MAKEDEV.sub MAKEDEV.mi allarchs: MAKEDEV.sub MAKEDEV.mi
@cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
make M=$$m m4; done make M=$$m m4; done
.include <bsd.prog.mk> .include <bsd.prog.mk>

Loading…
Cancel
Save