Lines 5-10
Link Here
|
5 |
INCDIR = $(DESTDIR)/include |
5 |
INCDIR = $(DESTDIR)/include |
6 |
MANDIR = $(DESTDIR)/share/man |
6 |
MANDIR = $(DESTDIR)/share/man |
7 |
ETCDIR = $(INSTROOT)@SYSCONF@/ppp |
7 |
ETCDIR = $(INSTROOT)@SYSCONF@/ppp |
|
|
8 |
RUNDIR = $(INSTROOT)/var/run/ppp |
9 |
LOGDIR = $(INSTROOT)/var/log/ppp |
8 |
|
10 |
|
9 |
# uid 0 = root |
11 |
# uid 0 = root |
10 |
INSTALL= install |
12 |
INSTALL= install |
Lines 16-22
Link Here
|
16 |
cd pppstats; $(MAKE) $(MFLAGS) all |
18 |
cd pppstats; $(MAKE) $(MFLAGS) all |
17 |
cd pppdump; $(MAKE) $(MFLAGS) all |
19 |
cd pppdump; $(MAKE) $(MFLAGS) all |
18 |
|
20 |
|
19 |
install: $(BINDIR) $(MANDIR)/man8 install-progs install-devel |
21 |
install: $(BINDIR) $(RUNDIR) $(LOGDIR) $(MANDIR)/man8 install-progs install-devel |
20 |
|
22 |
|
21 |
install-progs: |
23 |
install-progs: |
22 |
cd chat; $(MAKE) $(MFLAGS) install |
24 |
cd chat; $(MAKE) $(MFLAGS) install |
Lines 44-49
Link Here
|
44 |
$(INSTALL) -d -m 755 $@ |
46 |
$(INSTALL) -d -m 755 $@ |
45 |
$(ETCDIR): |
47 |
$(ETCDIR): |
46 |
$(INSTALL) -d -m 755 $@ |
48 |
$(INSTALL) -d -m 755 $@ |
|
|
49 |
$(RUNDIR): |
50 |
$(INSTALL) -d -m 755 $@ |
51 |
$(LOGDIR): |
52 |
$(INSTALL) -d -m 755 $@ |
47 |
|
53 |
|
48 |
clean: |
54 |
clean: |
49 |
rm -f `find . -name '*.[oas]' -print` |
55 |
rm -f `find . -name '*.[oas]' -print` |