From d46a57cff4eb5678438c8ebe21b33abc8bfd1ff2 Mon Sep 17 00:00:00 2001 From: ewt Date: Mon, 17 Feb 1997 16:58:58 +0000 Subject: [PATCH] changes to install rules from sopwith --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 927eb33..25dc584 100644 --- a/Makefile +++ b/Makefile @@ -71,13 +71,13 @@ $(SHAREDDIR)/newt.o: newt.c Makefile install: $(LIBNEWT) - install -m 755 -o 0 -g 0 -d $(libdir) - install -m 755 -o 0 -g 0 -d $(includedir) - install -m 644 -o 0 -g 0 newt.h $(includedir) - install -m 644 -o 0 -g 0 $(LIBNEWT) $(libdir) + [ -d $(libdir) ] || install -m 755 -d $(libdir) + [ -d $(includedir) ] || install -m 755 -d $(includedir) + install -m 644 newt.h $(includedir) + install -m 644 $(LIBNEWT) $(libdir) install-sh: shared - install -m 755 -o 0 -g 0 $(LIBNEWTSH) $(libdir) + install -m 755 $(LIBNEWTSH) $(libdir) ln -sf $(LIBNEWTSH) $(libdir)/libnewt.so /sbin/ldconfig -- 2.47.3