summaryrefslogtreecommitdiff
path: root/distrib/notes
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-02-07 21:30:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-02-07 21:30:27 +0000
commite680c8d166588f63f199bce2e706693ce4c6b229 (patch)
tree6fd166fdcc6b37debc68e73a40bec4d7f7688c1b /distrib/notes
parent6e83a58bf0c5a631ed94274924f4864acbc5be55 (diff)
Allow architectures to skip the notes part if they don't provide files.
Diffstat (limited to 'distrib/notes')
-rw-r--r--distrib/notes/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/distrib/notes/Makefile b/distrib/notes/Makefile
index ba7368fb54d..f52bf52494b 100644
--- a/distrib/notes/Makefile
+++ b/distrib/notes/Makefile
@@ -1,10 +1,12 @@
-# $OpenBSD: Makefile,v 1.21 2003/10/31 04:03:15 drahn Exp $
+# $OpenBSD: Makefile,v 1.22 2004/02/07 21:30:26 miod Exp $
NOPROG=
NOMAN=
M?= $(MACHINE)
+.if exists(${M}/contents)
+
TARG= INSTALL.$M
SRC= $(.CURDIR)/INSTALL
DEP= $(SRC) $(.CURDIR)/mirrors $(.CURDIR)/$M/whatis $(.CURDIR)/$M/contents \
@@ -23,10 +25,14 @@ $(TARG): $(DEP)
m4 -DOSREV=$(OSREV) -DOSrev=$(OSrev) -DINCLUDE=$(.CURDIR)/$M \
-DMACHINE=$M -Uunix $(SRC) > $@
-clean:
- -/bin/rm -f INSTALL.*
-
beforeinstall:
cp ${TARG} ${DESTDIR}/snapshot/
+.else
+all:
+.endif
+
+clean:
+ -/bin/rm -f INSTALL.*
+
.include <bsd.prog.mk>