]> git.ozlabs.org Git - ppp.git/blobdiff - pppstats/Makefile.linux
__linux__ (already defined by compiler) not _linux_ (manually defined)
[ppp.git] / pppstats / Makefile.linux
index bbef60cb085d6643036311209e43e8895c7ecf11..8bb4f9aa6222d1986e2fcecb5c5a8e08d54de89b 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppstats makefile
-# $Id: Makefile.linux,v 1.3 1998/03/25 02:21:20 paulus Exp $
+# $Id: Makefile.linux,v 1.5 2002/10/27 12:56:26 fcusack Exp $
 #
 
 PPPSTATSRCS = pppstats.c
@@ -8,7 +8,7 @@ PPPSTATOBJS = pppstats.o
 
 #CC = gcc
 COPTS = -O
-COMPILE_FLAGS = -D_linux_ -I../include
+COMPILE_FLAGS = -I../include
 LIBS =
 
 INSTALL= install -o root -g daemon
@@ -18,6 +18,7 @@ CFLAGS = $(COPTS) $(COMPILE_FLAGS)
 all: pppstats
 
 install: pppstats
+       -mkdir -p $(MANDIR)/man8
        $(INSTALL) -s -c pppstats $(BINDIR)/pppstats
        $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8