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