Use ${COPY} instead of -c for installing non-source files.
This commit is contained in:
parent
7956a30f26
commit
015a0dc2e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21155
@ -16,14 +16,14 @@ setup: phantglobs.o setup.o monsters.asc ${LIBM}
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
./setup -m ${.CURDIR}/monsters.asc
|
./setup -m ${.CURDIR}/monsters.asc
|
||||||
${INSTALL} -c -m 660 -o games -g bin gold ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin gold ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin lastdead ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin lastdead ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin mess ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin mess ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin monsters ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin monsters ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin motd ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin motd ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin characs ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin characs ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin scoreboard ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin scoreboard ${DESTDIR}/var/games/phantasia
|
||||||
${INSTALL} -c -m 660 -o games -g bin void ${DESTDIR}/var/games/phantasia
|
${INSTALL} ${COPY} -m 660 -o games -g bin void ${DESTDIR}/var/games/phantasia
|
||||||
|
|
||||||
# Make Phantasia map. Change the map commands reflect your ${INSTALL}ation.
|
# Make Phantasia map. Change the map commands reflect your ${INSTALL}ation.
|
||||||
# PLOTDEVICE is used for plotting the map. Change as appropriate.
|
# PLOTDEVICE is used for plotting the map. Change as appropriate.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.1 1996/09/10 13:23:44 peter Exp $
|
# $Id: Makefile,v 1.2 1996/10/27 21:50:59 joerg Exp $
|
||||||
|
|
||||||
BISONDIR=${.CURDIR}/../../../../contrib/bison
|
BISONDIR=${.CURDIR}/../../../../contrib/bison
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ bison.s1: bison.simple
|
|||||||
< ${BISONDIR}/bison.simple > bison.s1
|
< ${BISONDIR}/bison.simple > bison.s1
|
||||||
|
|
||||||
install:
|
install:
|
||||||
${INSTALL} -c -o bin -g bin -m 444 bison.s1 \
|
${INSTALL} ${COPY} -o bin -g bin -m 444 bison.s1 \
|
||||||
${DESTDIR}${DATADIR}/bison.simple
|
${DESTDIR}${DATADIR}/bison.simple
|
||||||
${INSTALL} -c -o bin -g bin -m 444 ${BISONDIR}/bison.hairy \
|
${INSTALL} -c -o bin -g bin -m 444 ${BISONDIR}/bison.hairy \
|
||||||
${DESTDIR}${DATADIR}
|
${DESTDIR}${DATADIR}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.5 1996/08/20 23:53:00 peter Exp $
|
# $Id: Makefile,v 1.6 1996/09/05 08:43:50 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../Makefile.inc"
|
.include "${.CURDIR}/../Makefile.inc"
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ all: ${SCRIPTS}
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
.for file in ${SCRIPTS}
|
.for file in ${SCRIPTS}
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
${file} ${DESTDIR}${EXAMPDIR}/contrib
|
${file} ${DESTDIR}${EXAMPDIR}/contrib
|
||||||
.endfor
|
.endfor
|
||||||
.for file in ${FILES}
|
.for file in ${FILES}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.3 1995/12/11 04:24:06 peter Exp $
|
# $Id: Makefile,v 1.4 1996/08/20 23:55:14 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../Makefile.inc"
|
.include "${.CURDIR}/../Makefile.inc"
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ all: cvsbug
|
|||||||
|
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
cvsbug ${DESTDIR}${BINDIR}/cvsbug
|
cvsbug ${DESTDIR}${BINDIR}/cvsbug
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -15,7 +15,7 @@ neqn:
|
|||||||
sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn
|
sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn
|
||||||
|
|
||||||
afterinstall: neqn
|
afterinstall: neqn
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
|
||||||
${DESTDIR}${BINDIR}
|
${DESTDIR}${BINDIR}
|
||||||
|
|
||||||
beforedepend: eqn.cc
|
beforedepend: eqn.cc
|
||||||
|
@ -26,18 +26,18 @@ beforeinstall:
|
|||||||
${DIST_DIR}/$$f ${DESTDIR}${TMACDIR}; \
|
${DIST_DIR}/$$f ${DESTDIR}${TMACDIR}; \
|
||||||
done
|
done
|
||||||
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/tmac.an >tmac.groff_an
|
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/tmac.an >tmac.groff_an
|
||||||
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
||||||
tmac.groff_an ${DESTDIR}${TMACDIR}
|
tmac.groff_an ${DESTDIR}${TMACDIR}
|
||||||
for f in ${STRIPFILES}; do \
|
for f in ${STRIPFILES}; do \
|
||||||
rm -f temp; \
|
rm -f temp; \
|
||||||
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/$$f >temp; \
|
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/$$f >temp; \
|
||||||
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
||||||
temp ${DESTDIR}${TMACDIR}/$$f; \
|
temp ${DESTDIR}${TMACDIR}/$$f; \
|
||||||
done
|
done
|
||||||
for f in ${MDOCFILES}; do \
|
for f in ${MDOCFILES}; do \
|
||||||
rm -f temp; \
|
rm -f temp; \
|
||||||
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/$$f >temp; \
|
sed -f ${DIST_DIR}/strip.sed ${DIST_DIR}/$$f >temp; \
|
||||||
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
||||||
temp ${DESTDIR}${MDOCDIR}/$$f; \
|
temp ${DESTDIR}${MDOCDIR}/$$f; \
|
||||||
done
|
done
|
||||||
test -f ${DESTDIR}${TMACDIR}/man.local || \
|
test -f ${DESTDIR}${TMACDIR}/man.local || \
|
||||||
|
@ -28,7 +28,7 @@ send-pr.el: send-pr-el.in Makefile
|
|||||||
${.ALLSRC:N*Makefile} > ${.TARGET}
|
${.ALLSRC:N*Makefile} > ${.TARGET}
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
send-pr ${DESTDIR}${BINDIR}/send-pr
|
send-pr ${DESTDIR}${BINDIR}/send-pr
|
||||||
|
|
||||||
# called from /usr/src/etc/Makefile
|
# called from /usr/src/etc/Makefile
|
||||||
|
@ -9,7 +9,7 @@ NOMAN = noman
|
|||||||
all: ${SCRMAPS}
|
all: ${SCRMAPS}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
|
||||||
${DESTDIR}${SCRDIR}
|
${DESTDIR}${SCRDIR}
|
||||||
|
|
||||||
${SCRMAPS}: ${.TARGET:R}.mk
|
${SCRMAPS}: ${.TARGET:R}.mk
|
||||||
|
@ -14,7 +14,7 @@ ${FILES}:
|
|||||||
depend lint tags:
|
depend lint tags:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
|
||||||
${DESTDIR}${BINDIR}/tabset
|
${DESTDIR}${BINDIR}/tabset
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -18,7 +18,7 @@ beforeinstall:
|
|||||||
${.CURDIR}/vgrind.sh ${DESTDIR}/usr/bin/vgrind
|
${.CURDIR}/vgrind.sh ${DESTDIR}/usr/bin/vgrind
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
|
||||||
${DESTDIR}/usr/share/misc/vgrindefs
|
${DESTDIR}/usr/share/misc/vgrindefs
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
|
vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
|
||||||
${DESTDIR}/usr/share/tmac
|
${DESTDIR}/usr/share/tmac
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.10 1996/12/08 14:05:08 ache Exp $
|
# $Id: Makefile,v 1.11 1996/12/30 09:24:19 peter Exp $
|
||||||
#
|
#
|
||||||
# This has most of the glue needed to compile tknvi and the perl hooks,
|
# This has most of the glue needed to compile tknvi and the perl hooks,
|
||||||
# but not all.
|
# but not all.
|
||||||
@ -191,7 +191,7 @@ afterinstall:
|
|||||||
${SRCDIR}/perl_scripts/*.pl \
|
${SRCDIR}/perl_scripts/*.pl \
|
||||||
${DESTDIR}/usr/share/vi/perl
|
${DESTDIR}/usr/share/vi/perl
|
||||||
.if defined(PERLINTERP)
|
.if defined(PERLINTERP)
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 VI.pm \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 VI.pm \
|
||||||
${DESTDIR}/usr/share/vi/perl
|
${DESTDIR}/usr/share/vi/perl
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id$
|
# $Id: Makefile,v 1.1 1996/08/29 21:47:33 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../named/Makefile.inc"
|
.include "${.CURDIR}/../named/Makefile.inc"
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ CLEANFILES+= named.reload
|
|||||||
all: named.reload
|
all: named.reload
|
||||||
|
|
||||||
realinstall:
|
realinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} named.reload \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
${DESTDIR}${BINDIR}
|
named.reload ${DESTDIR}${BINDIR}
|
||||||
|
|
||||||
named.reload: named.reload.sh ${BIND_DIR}/Makefile
|
named.reload: named.reload.sh ${BIND_DIR}/Makefile
|
||||||
sed -e "s|%INDOT%|${INDOT}|" \
|
sed -e "s|%INDOT%|${INDOT}|" \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id$
|
# $Id: Makefile,v 1.1 1996/08/29 21:48:19 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../named/Makefile.inc"
|
.include "${.CURDIR}/../named/Makefile.inc"
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ CLEANFILES+= named.restart
|
|||||||
all: named.restart
|
all: named.restart
|
||||||
|
|
||||||
realinstall:
|
realinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} named.restart \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
${DESTDIR}${BINDIR}
|
named.restart ${DESTDIR}${BINDIR}
|
||||||
|
|
||||||
named.restart: named.restart.sh ${BIND_DIR}/Makefile
|
named.restart: named.restart.sh ${BIND_DIR}/Makefile
|
||||||
sed -e "s|%INDOT%|${INDOT}|" \
|
sed -e "s|%INDOT%|${INDOT}|" \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id$
|
# $Id: Makefile,v 1.1 1996/08/29 21:46:45 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../named/Makefile.inc"
|
.include "${.CURDIR}/../named/Makefile.inc"
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ CLEANFILES+= ndc
|
|||||||
all: ndc
|
all: ndc
|
||||||
|
|
||||||
realinstall:
|
realinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ndc \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ndc \
|
||||||
${DESTDIR}${BINDIR}
|
${DESTDIR}${BINDIR}
|
||||||
|
|
||||||
ndc: ndc.sh ndcedit.awk ${BIND_DIR}/Makefile
|
ndc: ndc.sh ndcedit.awk ${BIND_DIR}/Makefile
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
.if !exists(${.CURDIR}/../Makefile.inc)
|
.if !exists(${.CURDIR}/../Makefile.inc)
|
||||||
error:
|
error:
|
||||||
@echo
|
@echo
|
||||||
@ -27,7 +26,7 @@ install: ${FONTS}
|
|||||||
@if [ ! -d ${DESTDIR}${FONTDIR} ]; then mkdir ${DESTDIR}${FONTDIR};fi
|
@if [ ! -d ${DESTDIR}${FONTDIR} ]; then mkdir ${DESTDIR}${FONTDIR};fi
|
||||||
@for i in ${FONTS}; do \
|
@for i in ${FONTS}; do \
|
||||||
${ECHO} "installing font $$i into ${DESTDIR}${FONTDIR}"; \
|
${ECHO} "installing font $$i into ${DESTDIR}${FONTDIR}"; \
|
||||||
${INSTALL} -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
|
${INSTALL} ${COPY} -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
|
||||||
$$i ${DESTDIR}${FONTDIR}; \
|
$$i ${DESTDIR}${FONTDIR}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.1 1996/05/04 08:02:10 peter Exp $
|
# $Id: Makefile,v 1.2 1996/05/05 07:40:46 peter Exp $
|
||||||
|
|
||||||
FILES = 2681.sys cdk.sys
|
FILES = 2681.sys cdk.sys
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ install:
|
|||||||
@if [ ! -d ${DESTDIR}${BOOTDIR} ]; then mkdir ${DESTDIR}${BOOTDIR};fi
|
@if [ ! -d ${DESTDIR}${BOOTDIR} ]; then mkdir ${DESTDIR}${BOOTDIR};fi
|
||||||
@for i in ${FILES}; do \
|
@for i in ${FILES}; do \
|
||||||
${ECHO} "installing $$i into ${DESTDIR}${BOOTDIR}"; \
|
${ECHO} "installing $$i into ${DESTDIR}${BOOTDIR}"; \
|
||||||
${INSTALL} -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
|
${INSTALL} ${COPY} -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
|
||||||
$$i ${DESTDIR}${BOOTDIR}; \
|
$$i ${DESTDIR}${BOOTDIR}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -29,4 +29,3 @@ cdk.sys: ${.CURDIR}/cdk.sys.uu
|
|||||||
2681.sys: ${.CURDIR}/2681.sys.uu
|
2681.sys: ${.CURDIR}/2681.sys.uu
|
||||||
@rm -f $@
|
@rm -f $@
|
||||||
uudecode ${.CURDIR}/$@.uu
|
uudecode ${.CURDIR}/$@.uu
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user