Added for Digest authentication
[freeradius.git] / doc / Makefile
1 #
2 # Makefile
3 #
4 # Version:      $Id$
5 #
6
7 include ../Make.inc
8
9 SUBDIRS         = examples rfc
10 WHAT_TO_MAKE    = all
11
12 all:
13         @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
14
15 clean:
16         @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
17         @rm -f *~
18
19 install:
20         $(INSTALL) -d -m 755 $(R)$(docdir)
21         for file in *[!~]; do \
22                 if [ -f $$file -a $$file != Makefile ]; then \
23                         $(INSTALL) -m 644 $$file $(R)$(docdir); \
24                 fi; \
25         done
26         @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
27
28 common: $(SUBDIRS)
29
30 $(SUBDIRS):
31         @echo "Making $(WHAT_TO_MAKE) in $@..."
32         $(MAKE) $(MFLAGS) -C $@ $(WHAT_TO_MAKE)
33
34 .PHONY: all clean install common $(SUBDIRS)