Install source files with the -c flag, not with the optional flag ${COPY}.
This commit is contained in:
parent
48cfb668fc
commit
97cefc5891
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9971
@ -14,8 +14,8 @@ stime: stime.c
|
||||
install: all
|
||||
${INSTALL} ${COPY} tst ${BINDIR}/isdn_test
|
||||
${INSTALL} ${COPY} stime ${BINDIR}/isdn_stime
|
||||
${INSTALL} ${COPY} -m 755 setnic.sh ${LIBDIR}/setnic
|
||||
${INSTALL} ${COPY} -m 755 sisdn.sh ${LIBDIR}/sisdn.example
|
||||
${INSTALL} ${COPY} ${ETCFILES} ${LIBDIR}
|
||||
${INSTALL} -c -m 755 setnic.sh ${LIBDIR}/setnic
|
||||
${INSTALL} -c -m 755 sisdn.sh ${LIBDIR}/sisdn.example
|
||||
${INSTALL} -c ${ETCFILES} ${LIBDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.16 1995/06/30 15:30:35 wollman Exp $
|
||||
# $Id: Makefile,v 1.17 1995/08/06 12:23:18 bde Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o c++rt0.o
|
||||
@ -32,7 +32,7 @@ gcrt0.o: crt0.o
|
||||
|
||||
beforeinstall:
|
||||
cmp -s ${.CURDIR}/dlfcn.h ${DESTDIR}/usr/include/dlfcn.h || \
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/dlfcn.h ${DESTDIR}/usr/include
|
||||
|
||||
realinstall:
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Makefile for libmytinfo
|
||||
# Use 'make update_term_h' manually after changing internal
|
||||
# mytinfo structures
|
||||
# $Id: Makefile,v 1.7 1994/10/28 06:58:04 ache Exp $
|
||||
# $Id: Makefile,v 1.8 1994/11/16 11:54:09 ache Exp $
|
||||
|
||||
LIB= mytinfo
|
||||
SRCS= addstr.c binorder.c buildpath.c caplist.c capsort.c compar.c\
|
||||
@ -22,7 +22,7 @@ update_term_h: ${.CURDIR}/term.head ${.CURDIR}/term.tail
|
||||
beforeinstall:
|
||||
-cmp -s ${.CURDIR}/term.h ${DESTDIR}/usr/include/term.h && \
|
||||
cmp -s ${.CURDIR}/term.h ${DESTDIR}/usr/include/nterm.h || \
|
||||
( $(INSTALL) $(COPY) -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
( $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/term.h ${DESTDIR}/usr/include; \
|
||||
rm -f ${DESTDIR}/usr/include/nterm.h; \
|
||||
ln -s term.h ${DESTDIR}/usr/include/nterm.h )
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Makefile for ncurses
|
||||
# $Id: Makefile,v 1.12 1995/05/03 18:54:09 ache Exp $
|
||||
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
|
||||
|
||||
LIB= ncurses
|
||||
SHLIB_MAJOR= 3
|
||||
@ -25,10 +25,10 @@ beforedepend: keys.tries
|
||||
beforeinstall:
|
||||
@cd ${.CURDIR}; for i in unctrl.h; do \
|
||||
cmp -s $$i ${DESTDIR}/usr/include/$$i || \
|
||||
$(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
|
||||
$(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
|
||||
${DESTDIR}/usr/include; done
|
||||
@cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \
|
||||
$(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
|
||||
$(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
|
||||
${DESTDIR}/usr/include/ncurses.h
|
||||
|
||||
keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Makefile for libpcap
|
||||
# $Id: Makefile,v 1.2 1995/02/21 10:46:25 olah Exp $
|
||||
# $Id: Makefile,v 1.3 1995/02/23 18:47:06 ache Exp $
|
||||
|
||||
LIB= pcap
|
||||
|
||||
@ -16,10 +16,10 @@ MAN3= pcap.3
|
||||
|
||||
beforeinstall:
|
||||
-cmp -s ${.CURDIR}/pcap.h ${DESTDIR}/usr/include/pcap.h || \
|
||||
( $(INSTALL) $(COPY) -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
( $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/pcap.h ${DESTDIR}/usr/include; )
|
||||
-cmp -s ${.CURDIR}/pcap-namedb.h ${DESTDIR}/usr/include/pcap-namedb.h || \
|
||||
( $(INSTALL) $(COPY) -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
( $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/pcap-namedb.h ${DESTDIR}/usr/include; )
|
||||
|
||||
scanner.o: tokdefs.h
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Makefile for ncurses
|
||||
# $Id: Makefile,v 1.12 1995/05/03 18:54:09 ache Exp $
|
||||
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
|
||||
|
||||
LIB= ncurses
|
||||
SHLIB_MAJOR= 3
|
||||
@ -25,10 +25,10 @@ beforedepend: keys.tries
|
||||
beforeinstall:
|
||||
@cd ${.CURDIR}; for i in unctrl.h; do \
|
||||
cmp -s $$i ${DESTDIR}/usr/include/$$i || \
|
||||
$(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
|
||||
$(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
|
||||
${DESTDIR}/usr/include; done
|
||||
@cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \
|
||||
$(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
|
||||
$(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
|
||||
${DESTDIR}/usr/include/ncurses.h
|
||||
|
||||
keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
|
||||
|
Loading…
Reference in New Issue
Block a user