From a7ef76154b2ae7522ec602850895972d570f7d42 Mon Sep 17 00:00:00 2001 From: mar Date: Wed, 14 Feb 1990 11:23:00 +0000 Subject: [PATCH] make the install's -c --- backup/Makefile | 6 +++--- clients/blanche/Makefile | 2 +- db/Makefile | 2 +- dcm/Makefile | 4 ++-- gdb/Makefile | 6 +++--- include/Makefile | 6 +++--- lib/Makefile | 16 ++++++++-------- reg_svr/Makefile | 4 ++-- update/Makefile | 4 ++-- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/backup/Makefile b/backup/Makefile index 90164d9f..e0a3bc5c 100644 --- a/backup/Makefile +++ b/backup/Makefile @@ -49,9 +49,9 @@ clean: rm -f rest.c rest1.c rest_db.c install: - install mrbackup ../bin/mrbackup - install mrrestore ../bin/mrrestore - install nightly.sh ../bin/nightly.sh + install -c mrbackup ../bin/mrbackup + install -c mrrestore ../bin/mrrestore + install -c nightly.sh ../bin/nightly.sh depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} diff --git a/clients/blanche/Makefile b/clients/blanche/Makefile index 4d378706..044564d5 100644 --- a/clients/blanche/Makefile +++ b/clients/blanche/Makefile @@ -34,7 +34,7 @@ clean: rm -f ${PROGS} install: ${PROGS} - install -s blanche ${DESTDIR}/usr/athena/blanche + install -c -s blanche ${DESTDIR}/usr/athena/blanche depend: mkdep ${CFLAGS} blanche.c diff --git a/db/Makefile b/db/Makefile index db5f8672..ac29d43a 100644 --- a/db/Makefile +++ b/db/Makefile @@ -39,7 +39,7 @@ clean: rm -f imembers.c imembers install: newmoira - install newmoira ../bin + install -c newmoira ../bin depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} diff --git a/dcm/Makefile b/dcm/Makefile index ffa617bc..4fb6ddd2 100644 --- a/dcm/Makefile +++ b/dcm/Makefile @@ -37,8 +37,8 @@ clean: rm -f dcm startdcm .saber install: dcm startdcm - install dcm ${SMS_DIR}/bin/dcm - install startdcm ${SMS_DIR}/bin/startdcm + install -c dcm ${SMS_DIR}/bin/dcm + install -c startdcm ${SMS_DIR}/bin/startdcm lint: lint ${INCDIR} ${DCM_SRCS} | grep -v "possible pointer alignment" diff --git a/gdb/Makefile b/gdb/Makefile index 3d2da9b8..016fef86 100644 --- a/gdb/Makefile +++ b/gdb/Makefile @@ -55,11 +55,11 @@ llib-lgdb.ln: ${LIBSRC} lint -Cgdb ${GDBCSRCS} install: - install -m 644 libgdb.a ${DESTDIR}/usr/athena/lib/libsmsgdb.a + install -c -m 644 libgdb.a ${DESTDIR}/usr/athena/lib/libsmsgdb.a ranlib ${DESTDIR}/usr/athena/lib/libsmsgdb.a - install -m 644 libgdb_p.a ${DESTDIR}/usr/athena/lib/libsmsgdb_p.a + install -c -m 644 libgdb_p.a ${DESTDIR}/usr/athena/lib/libsmsgdb_p.a ranlib ${DESTDIR}/usr/athena/lib/libsmsgdb_p.a - install -m 644 llib-lgdb.ln ${DESTDIR}/usr/lib/lint/llib-lsmsgdb.ln + install -c -m 644 llib-lgdb.ln ${DESTDIR}/usr/lib/lint/llib-lsmsgdb.ln # # Random demo programs diff --git a/include/Makefile b/include/Makefile index d556ed27..b97c2970 100644 --- a/include/Makefile +++ b/include/Makefile @@ -14,6 +14,6 @@ FILES= sms.h sms_app.h sms_et.h all: install: ${FILES} - install -m 644 sms.h ${DESTDIR}/usr/include/sms.h - install -m 644 sms_app.h ${DESTDIR}/usr/include/sms_app.h - install -m 644 sms_et.h ${DESTDIR}/usr/include/sms_et.h + install -c -m 644 sms.h ${DESTDIR}/usr/include/sms.h + install -c -m 644 sms_app.h ${DESTDIR}/usr/include/sms_app.h + install -c -m 644 sms_et.h ${DESTDIR}/usr/include/sms_et.h diff --git a/lib/Makefile b/lib/Makefile index 49445e91..3ea61192 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -26,9 +26,9 @@ LINTFLAGS= -uhv ALL=libsms.a llib-lsms.ln # libsms_p.a .c.o: -# ${CC} -c -pg ${CFLAGS} $*.c -# ld -x -r $*.o -# mv a.out profiled/$*.o + ${CC} -c -pg ${CFLAGS} $*.c + ld -x -r $*.o + mv a.out profiled/$*.o ${CC} -c ${CFLAGS} $*.c ld -x -r $*.o mv a.out $*.o @@ -38,7 +38,7 @@ all: ${ALL} libsms.a: ${LIBOBJ} ar cruv $@ `lorder ${LIBOBJ} | tsort` ranlib $@ -# (cd profiled; ar cruv ../libsms_p.a ${LIBOBJ}; ranlib ../libsms_p.a) + (cd profiled; ar cruv ../libsms_p.a ${LIBOBJ}; ranlib ../libsms_p.a) smslib.dvi: smslib.tex latex smslib.tex @@ -63,11 +63,11 @@ clean: install: - install -m 644 libsms.a ${DESTDIR}/usr/athena/lib/libsms.a + install -c -m 644 libsms.a ${DESTDIR}/usr/athena/lib/libsms.a ranlib ${DESTDIR}/usr/athena/lib/libsms.a -# install -m 644 libsms_p.a ${DESTDIR}/usr/athena/lib/libsms_p.a -# ranlib ${DESTDIR}/usr/athena/lib/libsms_p.a - install -m 644 llib-lsms.ln ${DESTDIR}/usr/lib/lint/llib-lsms.ln + install -c -m 644 libsms_p.a ${DESTDIR}/usr/athena/lib/libsms_p.a + ranlib ${DESTDIR}/usr/athena/lib/libsms_p.a + install -c -m 644 llib-lsms.ln ${DESTDIR}/usr/lib/lint/llib-lsms.ln TAGS: $(CFILES) -etags $(CFILES) diff --git a/reg_svr/Makefile b/reg_svr/Makefile index 9f0ab95f..f44fe409 100644 --- a/reg_svr/Makefile +++ b/reg_svr/Makefile @@ -32,8 +32,8 @@ clean: /tmp rm -f unreg_user.c unreg_user install: all - install reg_svr ../bin/reg_svr - install startreg ../bin/startreg + install -c reg_svr ../bin/reg_svr + install -c startreg ../bin/startreg depend: mkdep ${CFLAGS} ${SRCS} diff --git a/update/Makefile b/update/Makefile index 6ecda64c..25396c1a 100644 --- a/update/Makefile +++ b/update/Makefile @@ -50,8 +50,8 @@ clean: -rm -f core a.out *~ \#* install: update_server - install -s update_server ${DESTDIR}/usr/etc/update_server - install -s sms_untar ${DESTDIR}/etc/sms_untar + install -c -s update_server ${DESTDIR}/usr/etc/update_server + install -c -s sms_untar ${DESTDIR}/etc/sms_untar lint: lint ${LINTFLAGS} ${SSRCS} -- 2.45.2