diff options
author | jlam <jlam> | 2007-06-15 15:44:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-06-15 15:44:25 +0000 |
commit | b7c53346470140d824fbbe19bf594fd18261d4c5 (patch) | |
tree | f29d039ec6976d5c80c1dbe3e100476eff5e7b5f | |
parent | 606d5c1a1dfce45dd61318a432d865b8ab573fd5 (diff) | |
download | pkgsrc-b7c53346470140d824fbbe19bf594fd18261d4c5.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 |