1##  The only target that this Makefile need support is install.  Everything
2##  else is a null target (and the top level Makefile shouldn't even attempt
3##  them in this directory).
4
5include ../Makefile.global
6
7top	= ..
8
9TOPDOCS	= CONTRIBUTORS HACKING INSTALL LICENSE NEWS README TODO
10
11DOCS	= GPL config-design config-semantics config-syntax \
12	external-auth history history-innfeed hook-perl hook-python \
13	sample-control
14
15DIRS = pod man
16
17all:
18	cd pod && $(MAKE) all || exit 1 ; cd ..
19
20profiled:
21depend:
22
23clean clobber distclean maintclean:
24	cd pod && $(MAKE) $@ || exit 1 ; cd ..
25
26install:
27	for F in $(TOPDOCS) ; do \
28	    $(CP_RPUB) $(top)/$$F $D$(PATHDOC)/$$F ; \
29	done
30	for F in $(DOCS) ; do \
31	    $(CP_RPUB) $$F $D$(PATHDOC)/$$F ; \
32	done
33	if [ -r $(top)/README.snapshot ] ; then \
34	    $(CP_RPUB) $(top)/README.snapshot $D$(PATHDOC)/README.snapshot ; \
35	fi
36	cd man && $(MAKE) install || exit 1 ; cd ..
37
38bootstrap:
39	cd pod && $(MAKE) bootstrap || exit 1 ; cd ..
40