diff options
Diffstat (limited to 'docs/Makefile.in')
-rw-r--r-- | docs/Makefile.in | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in new file mode 100644 index 0000000..81f2298 --- /dev/null +++ b/docs/Makefile.in | |||
@@ -0,0 +1,84 @@ | |||
1 | # @configure_input@ | ||
2 | |||
3 | # Modify these top variables. | ||
4 | SUBDIRS = | ||
5 | |||
6 | EXTRA_DIST = README \ | ||
7 | manual.xml \ | ||
8 | manual.html | ||
9 | |||
10 | #Don't modify anything below here | ||
11 | |||
12 | srcdir = @abs_srcdir@ | ||
13 | builddir = @abs_builddir@ | ||
14 | |||
15 | STD_DIST = Makefile.in | ||
16 | |||
17 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) | ||
18 | |||
19 | all: all-subdirs | ||
20 | |||
21 | %.html: %.xml | ||
22 | @xmlto html-nochunks $< | ||
23 | |||
24 | %.pdf: %.xml | ||
25 | @xmlto pdf $< | ||
26 | |||
27 | all-subdirs install-subdirs update-subdirs clean-subdirs distclean-subdirs: | ||
28 | @otarget=`echo $@|sed s/-subdirs//`; \ | ||
29 | list=' $(SUBDIRS)'; \ | ||
30 | for i in $$list; do \ | ||
31 | if test -d "$$i"; then \ | ||
32 | target="$$otarget"; \ | ||
33 | echo "Making $$target in $$i"; \ | ||
34 | if test "$$i" = "."; then \ | ||
35 | made_local=yes; \ | ||
36 | target="local-$$target"; \ | ||
37 | fi; \ | ||
38 | (cd $$i && $(MAKE) $$target) || exit 1; \ | ||
39 | fi; \ | ||
40 | done; \ | ||
41 | |||
42 | include: | ||
43 | rm -rf include | ||
44 | ln -s @APACHE_INCDIR@ include | ||
45 | |||
46 | install: install-subdirs | ||
47 | |||
48 | update: update-subdirs | ||
49 | |||
50 | clean: clean-subdirs | ||
51 | |||
52 | distclean: clean distclean-subdirs | ||
53 | $(RM) Makefile | ||
54 | |||
55 | DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@ | ||
56 | DESTTGZ = $(DESTDIR).tar.gz | ||
57 | dist: | ||
58 | @rm -rf $(DESTDIR); \ | ||
59 | list=' $(SUBDIRS)'; \ | ||
60 | for i in $$list; do \ | ||
61 | if test -d "$$i"; then \ | ||
62 | target=local-dist; \ | ||
63 | echo "Making $$target in $$i"; \ | ||
64 | if test "$$i" = "."; then \ | ||
65 | made_local=yes; \ | ||
66 | target="local-dist"; \ | ||
67 | fi; \ | ||
68 | NEWDESTDIR=$(builddir)/$(DESTDIR)/$$i; \ | ||
69 | echo $(NEWDESTDIR); \ | ||
70 | (cd $$i && $(MAKE) DESTDIR=$(builddir)/$(DESTDIR)/$$i $$target) || exit 1; \ | ||
71 | fi; \ | ||
72 | done; | ||
73 | if test "$$made_local" != "yes"; then \ | ||
74 | $(MAKE) "local-dist" || exit 1; \ | ||
75 | fi | ||
76 | tar -zcf $(DESTTGZ) $(DESTDIR) | ||
77 | rm -rf $(DESTDIR) | ||
78 | |||
79 | local-dist: $(DISTFILES) | ||
80 | mkdir -p $(DESTDIR) | ||
81 | cp -dp --parents $(DISTFILES) $(DESTDIR) | ||
82 | |||
83 | .PHONY: include all-subdirs update-subdirs install-subdirs \ | ||
84 | clean-subdirs distclean-subdirs dist | ||