summaryrefslogtreecommitdiff
path: root/distrib/notes/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-17 03:58:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-17 03:58:56 +0000
commite886d2ed5f458a1c669b7e01332cb294ae4cbdeb (patch)
treec2b4570421724d0f1f9b22228287ea4c64f5cb11 /distrib/notes/Makefile
parentf4409ec46343690f2d8488e54a5731d75ae3a918 (diff)
For SHA256 hashes to be ready to go onto the install media, we must
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
Diffstat (limited to 'distrib/notes/Makefile')
-rw-r--r--distrib/notes/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/distrib/notes/Makefile b/distrib/notes/Makefile
index 05628db6f0c..700e2ac226a 100644
--- a/distrib/notes/Makefile
+++ b/distrib/notes/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.31 2008/05/15 21:01:14 miod Exp $
+# $OpenBSD: Makefile,v 1.32 2009/04/17 03:58:54 deraadt Exp $
NOPROG=
NOMAN=
@@ -27,13 +27,15 @@ $(TARG): $(DEP)
m4 -DOSREV=$(OSREV) -DOSrev=$(OSrev) -DINCLUDE=$(.CURDIR)/$M \
-DMACHINE=$M -Uunix $(SRC) > $@
-beforeinstall:
- cp ${TARG} ${DESTDIR}/snapshot/
-
.else
all:
.endif
+.ifdef RELEASEDIR
+beforeinstall:
+ cp ${TARG} ${RELEASEDIR}
+.endif
+
clean:
-/bin/rm -f INSTALL.*