we don't have sa_len in sockaddr
[ppp.git] / 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