summaryrefslogtreecommitdiffstats
path: root/docs/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile.in')
-rw-r--r--docs/Makefile.in84
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.
4SUBDIRS =
5
6EXTRA_DIST = README \
7 manual.xml \
8 manual.html
9
10#Don't modify anything below here
11
12srcdir = @abs_srcdir@
13builddir = @abs_builddir@
14
15STD_DIST = Makefile.in
16
17DISTFILES = $(STD_DIST) $(EXTRA_DIST)
18
19all: all-subdirs
20
21%.html: %.xml
22 @xmlto html-nochunks $<
23
24%.pdf: %.xml
25 @xmlto pdf $<
26
27all-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
42include:
43 rm -rf include
44 ln -s @APACHE_INCDIR@ include
45
46install: install-subdirs
47
48update: update-subdirs
49
50clean: clean-subdirs
51
52distclean: clean distclean-subdirs
53 $(RM) Makefile
54
55DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@
56DESTTGZ = $(DESTDIR).tar.gz
57dist:
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
79local-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