summaryrefslogtreecommitdiff
path: root/distrib/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-08-10 03:02:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-08-10 03:02:39 +0000
commit0107065671af49d33260929557a46d1053b82765 (patch)
tree6b590b70c84d9bd5f1f62f3bd5b25abd9bf3aab7 /distrib/macppc
parente22d87ff3e8c6406d9145f53efff7a71d01cf79f (diff)
use more variables, because variables are good
Diffstat (limited to 'distrib/macppc')
-rw-r--r--distrib/macppc/iso/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/distrib/macppc/iso/Makefile b/distrib/macppc/iso/Makefile
index c20bfb1ab3a..feac2b4fa21 100644
--- a/distrib/macppc/iso/Makefile
+++ b/distrib/macppc/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2007/08/10 02:45:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2007/08/10 03:02:38 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -7,20 +7,23 @@ TOP= ${.CURDIR}/..
CDROM= install${OSrev}.iso
RELXDIR= /home/relx-macppc
RELDIR?= /home/rel-macppc
+
+BASE= ${RELDIR}/base${OSrev}.tgz ${RELDIR}/comp${OSrev}.tgz \
+ ${RELDIR}/etc${OSrev}.tgz ${RELDIR}/game${OSrev}.tgz \
+ ${RELDIR}/man${OSrev}.tgz ${RELDIR}/misc${OSrev}.tgz \
+ ${RELDIR}/bsd ${RELDIR}/bsd.rd \
+ ${RELDIR}/INSTALL.macppc
+XBASE= ${RELXDIR}/xbase${OSrev}.tgz ${RELXDIR}/xetc${OSrev}.tgz \
+ ${RELXDIR}/xfont${OSrev}.tgz ${RELXDIR}/xshare${OSrev}.tgz
+
all: ${CDROM}
-${CDROM}:
+${CDROM}: ${BASE} ${XBASE}
-rm -rf ${.OBJDIR}/cd-dir/
-@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/macppc/
- cp -p ${RELDIR}/{base,comp,etc,game,man,misc}${OSrev}.tgz \
- ${.OBJDIR}/cd-dir/${OSREV}/macppc
- cp -p ${RELDIR}/{bsd,bsd.rd} \
- ${.OBJDIR}/cd-dir/${OSREV}/macppc
- cp -p ${RELXDIR}/{xbase,xetc,xfont,xserv,xshare}${OSrev}.tgz \
- ${.OBJDIR}/cd-dir/${OSREV}/macppc
- cp -p ${RELDIR}/INSTALL.macppc \
- ${.OBJDIR}/cd-dir/${OSREV}/macppc
+ cp -p ${BASE} ${.OBJDIR}/cd-dir/${OSREV}/macppc
+ cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/macppc
cp -p ${.CURDIR}/../../../sys/arch/macppc/stand/tbxidata/bsd.tbxi \
${.OBJDIR}/cd-dir/${OSREV}/macppc