diff options
author | jlam <jlam@pkgsrc.org> | 2007-06-15 15:44:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-06-15 15:44:25 +0000 |
commit | 32b215df0522b38245929907d88a1db987911946 (patch) | |
tree | f29d039ec6976d5c80c1dbe3e100476eff5e7b5f | |
parent | 3c335872b82b31be879fa44581ae81bd7e1dfb24 (diff) | |
download | pkgsrc-32b215df0522b38245929907d88a1db987911946.tar.gz |
Put build actions into a do-build target. Keep do-install as a pure
"install stuff I already built" step.
Also remove an unnecessary creation of ${PREFIX}/share/mklivecd which
is already handled in INSTALLATION_DIRS.
-rw-r--r-- | sysutils/mklivecd/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/mklivecd/Makefile b/sysutils/mklivecd/Makefile index e22b2325beb..5334814bd9c 100644 --- a/sysutils/mklivecd/Makefile +++ b/sysutils/mklivecd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2007/04/11 11:51:35 xtraeme Exp $ +# $NetBSD: Makefile,v 1.39 2007/06/15 15:44:25 jlam Exp $ DISTNAME= mklivecd-0.15.1 CATEGORIES= sysutils @@ -23,12 +23,11 @@ WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES -NO_BUILD= YES USE_TOOLS+= tar INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/mklivecd -do-install: +do-build: .for f in livecd mklivecd.sh mklivecd.8 @${SED} -e "s,@PREFIX@,${PREFIX},g" \ -e "s,@LOCALBASE@,${LOCALBASE},g" \ @@ -36,7 +35,8 @@ do-install: -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \ ${FILESDIR}/${f} > ${WRKDIR}/${f} .endfor - ${INSTALL_DATA_DIR} ${PREFIX}/share/mklivecd + +do-install: ${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${PREFIX}/sbin/mklivecd ${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${PREFIX}/${PKGMANDIR}/man8 ${INSTALL_DATA} ${WRKDIR}/livecd ${PREFIX}/share/mklivecd |