fixed install target, added default BINDIR and MANDIR
authorPaul Mackerras <paulus@samba.org>
Fri, 28 Apr 1995 06:16:43 +0000 (06:16 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 28 Apr 1995 06:16:43 +0000 (06:16 +0000)
chat/Makefile.sun

index 28ccfa249e318cab043df52fdb38abd81d3cd1fb..45a500f30eba0b454f02242da6c8bade7b6ea94b 100644 (file)
@@ -2,13 +2,19 @@
 # Makefile for chat on suns
 #
 
+BINDIR = /usr/local/etc
+MANDIR = /usr/local/man
+
+INSTALL= install -o root -g daemon
+
 all:   chat
 
 chat: chat.o
        $(CC) -o chat chat.o
 
-install:
-       install -c chat $(BINDIR)/chat
+install: chat
+       $(INSTALL) -c chat $(BINDIR)/chat
+       $(INSTALL) -c -m 444 chat.8 $(MANDIR)/man8/chat.8
 
 clean:
        rm -f *~ *.o chat