diff options
Diffstat (limited to 'distrib/hppa/iso/Makefile')
-rw-r--r-- | distrib/hppa/iso/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/distrib/hppa/iso/Makefile b/distrib/hppa/iso/Makefile index 69ee5e67b94..c7b22e216ca 100644 --- a/distrib/hppa/iso/Makefile +++ b/distrib/hppa/iso/Makefile @@ -1,43 +1,44 @@ -# $OpenBSD: Makefile,v 1.2 2007/08/10 03:02:38 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2007/08/10 12:29:55 deraadt Exp $ TOP= ${.CURDIR}/.. .include "${TOP}/Makefile.inc" CDROM= install${REV}.iso -RELXDIR= /home/relx-hppa -RELDIR?= /home/rel-hppa +RELXDIR= /home/relx-${MACHINE} +RELDIR?= /home/rel-${MACHINE} 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.hppa + ${RELDIR}/INSTALL.${MACHINE} XBASE= ${RELXDIR}/xbase${OSrev}.tgz ${RELXDIR}/xetc${OSrev}.tgz \ - ${RELXDIR}/xfont${OSrev}.tgz ${RELXDIR}/xshare${OSrev}.tgz + ${RELXDIR}/xfont${OSrev}.tgz ${RELXDIR}/xshare${OSrev}.tgz \ + ${RELXDIR}/xserv${OSrev}.tgz all: ${CDROM} ${CDROM}: ${BASE} ${XBASE} -rm -rf ${.OBJDIR}/cd-dir - mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/hppa + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} - cp -p ${BASE} ${.OBJDIR}/cd-dir/${OSREV}/hppa - cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/hppa + cp -p ${BASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} + cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} - ln -f ${.OBJDIR}/cd-dir/${OSREV}/hppa/bsd.rd \ + ln -f ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/bsd.rd \ ${.OBJDIR}/cd-dir/bsd.rd mkhybrid -R -T -L -d -D -N \ - -A "OpenBSD ${OSREV} hppa Install CD" \ + -A "OpenBSD ${OSREV} ${MACHINE} Install CD" \ -P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \ -p "Theo de Raadt <deraadt@openbsd.org>" \ - -V "OpenBSD/hppa ${OSREV} Install CD" \ + -V "OpenBSD/${MACHINE} ${OSREV} Install CD" \ -o ${.OBJDIR}/${CDROM} ${.OBJDIR}/cd-dir dd if=${DESTDIR}/usr/mdec/cdboot of=${.OBJDIR}/${CDROM} \ bs=32k count=1 conv=notrunc vnconfig -v -c svnd0 ${.OBJDIR}/${CDROM} - disklabel -w svnd0 fakecdrom "OpenBSD/hppa " + disklabel -w svnd0 fakecdrom "OpenBSD/${MACHINE} " vnconfig -u svnd0 dd if=/dev/zero bs=64k count=1 >> ${.OBJDIR}/${CDROM} |