~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-07-08 19:41:05 UTC
  • mto: (3.1.8 edgy) (4.1.3 sid) (1.1.14 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060708194105-bxbr4e6m4dfw2x4x
Tags: upstream-1.1.2
ImportĀ upstreamĀ versionĀ 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# Makefile
3
3
#
4
 
# Version:      $Id: Makefile,v 1.4.4.2 2005/08/12 14:41:24 nbk Exp $
 
4
# Version:      $Id: Makefile,v 1.4.4.2.2.2 2006/02/04 13:48:03 nbk Exp $
5
5
#
6
6
 
7
7
include ../Make.inc
8
8
 
9
 
SUBDIRS         = rfc
 
9
SUBDIRS         = examples 
10
10
WHAT_TO_MAKE    = all
11
11
 
12
12
all:
18
18
 
19
19
install:
20
20
        $(INSTALL) -d -m 755 $(R)$(datadir)/doc
21
 
        $(INSTALL) -d -m 755 $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION)
 
21
        $(INSTALL) -d -m 755 $(R)$(datadir)/doc/freeradius
22
22
        for file in *[!~]; do \
23
23
                if [ -f $$file -a $$file != Makefile ]; then \
24
 
                        $(INSTALL) -m 644 $$file $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION); \
 
24
                        $(INSTALL) -m 644 $$file $(R)$(datadir)/doc/freeradius; \
25
25
                fi; \
26
26
        done
27
27
        @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
28
28
 
29
 
common:
30
 
        @for dir in $(SUBDIRS); do \
31
 
                echo "Making $(WHAT_TO_MAKE) in $$dir..."; \
32
 
                (cd $$dir && $(MAKE) $(MFLAGS) $(WHAT_TO_MAKE)) || exit $?;\
33
 
        done
 
29
common: $(SUBDIRS)
 
30
 
 
31
$(SUBDIRS):
 
32
        @echo "Making $(WHAT_TO_MAKE) in $@..."
 
33
        $(MAKE) $(MFLAGS) -C $@ $(WHAT_TO_MAKE)
 
34
 
 
35
.PHONY: all clean install common $(SUBDIRS)