summaryrefslogtreecommitdiffstatsabout
path: root/docs/Makefile.in
blob: d88e72becaf1704def7133a0bdb70ebea6909b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# @configure_input@

# Modify these top variables.
SUBDIRS =

EXTRA_DIST = README \
		manual.xml \
		manual.html

#Don't modify anything below here

srcdir = @abs_srcdir@
builddir = @abs_builddir@

STD_DIST = Makefile.in

DISTFILES = $(STD_DIST) $(EXTRA_DIST)

all: all-subdirs

%.html: %.xml
		@xmlto xhtml-nochunks $<

%.pdf: %.xml
		@xmlto pdf $<

all-subdirs install-subdirs update-subdirs clean-subdirs distclean-subdirs:
	@otarget=`echo $@|sed s/-subdirs//`; \
	list=' $(SUBDIRS)'; \
	for i in $$list; do \
		if test -d "$$i"; then \
			target="$$otarget"; \
			echo "Making $$target in $$i"; \
			if test "$$i" = "."; then \
				made_local=yes; \
				target="local-$$target"; \
			fi; \
			(cd $$i && $(MAKE) $$target) || exit 1; \
		fi; \
	done; \

include:
	rm -rf include
	ln -s @APACHE_INCDIR@ include

install: install-subdirs

update: update-subdirs

clean: clean-subdirs

distclean: clean distclean-subdirs
	$(RM) Makefile

local-dist: $(DISTFILES)
	mkdir -p $(DESTDIR)
	cp -dp --parents $(DISTFILES) $(DESTDIR)

.PHONY: include all-subdirs update-subdirs install-subdirs \
	clean-subdirs distclean-subdirs dist