From 6afcc8dec4cd1968e96e9c14d641ef9c2dbbcfb8 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 21 Apr 1998 01:23:58 +0000 Subject: [PATCH] ${CP} -> ${INSTALL_MAN} and change a multi-source copy to a .for loop so the contents of MAN1 doesn't have to be repeated twice. Move MAN1 up to the variables' section. --- x11/xmove/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/x11/xmove/Makefile b/x11/xmove/Makefile index a3c29e16ba1f..6440ba005e6e 100644 --- a/x11/xmove/Makefile +++ b/x11/xmove/Makefile @@ -3,7 +3,7 @@ # Date created: 16 Jan 1997 # Whom: Stefan Zehl # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/04/19 06:02:25 mph Exp $ # DISTNAME= xmove.2.0beta2 @@ -15,13 +15,14 @@ MAINTAINER= sec@42.org WRKSRC= ${WRKDIR}/xmove USE_X11= yes +MAN1= xmove.1 xmovectrl.1 post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} post-install: - ${CP} ${WRKSRC}/man/man1/xmove.1 ${WRKSRC}/man/man1/xmovectrl.1 ${X11BASE}/man/man1 - -MAN1= xmove.1 xmovectrl.1 +.for man in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${X11BASE}/man/man1 +.endfor .include