X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2FMakefile.linux;h=1065ac51957632606a777711f222887a5f6a98d8;hp=1404e0b496464bf75dca6bfcc4da25c6b05d7ca4;hb=398ed2585640d198c53e736ee5bbd67f7ce8168e;hpb=5218c37149dd6419c1a125bb8cd31f83d0c3fc76 diff --git a/chat/Makefile.linux b/chat/Makefile.linux index 1404e0b..1065ac5 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,6 +1,6 @@ -# $Id: Makefile.linux,v 1.13 2004/11/03 11:51:47 paulus Exp $ +# $Id: Makefile.linux,v 1.15 2006/06/04 05:07:46 paulus Exp $ -DESTDIR = @DESTDIR@ +DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 @@ -24,7 +24,7 @@ chat.o: chat.c $(CC) -c $(CFLAGS) -o chat.o chat.c install: chat - mkdir -p $(BINDIR) + mkdir -p $(BINDIR) $(MANDIR) $(INSTALL) -s -c chat $(BINDIR) $(INSTALL) -c -m 644 chat.8 $(MANDIR)