Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / gtkmm2 / Makefile.am
1 if GTKMM_ATKMM_ENABLED
2   ATK_SUBDIR=atk
3 else
4   ATK_SUBDIR=
5 endif
6
7 SUBDIRS         = tools $(ATK_SUBDIR) pango gdk gtk @EXAMPLE_SUBDIR@ @DEMO_SUBDIR@ @DOCS_SUBDIR@ tests MSVC_Net2003
8 DIST_SUBDIRS    = $(SUBDIRS) scripts
9
10 EXTRA_DIST      = build_shared/Makefile_build.am_fragment \
11                   build_shared/Makefile_build_gensrc.am_fragment \
12                   build_shared/Makefile_gensrc.am_fragment \
13                   build_shared/Makefile_conditional.am_fragment \
14                   CHANGES README.win32 README.SUN PORTING \
15       autogen.sh
16
17
18 all-local:
19         @echo "*** Everything completed ***"
20
21 dist-hook:
22         @echo; echo; \
23         echo "**********************************************************"; \
24         echo "* IMPORTANT NOTICE:                                      *"; \
25         echo "*                                                        *"; \
26         echo "* Be sure you have done a complete build before running  *"; \
27         echo "* 'make dist' or 'make distcheck', because otherwise     *"; \
28         echo "* the tarball will _not_ contain the dependency rules    *"; \
29         echo "* generated by the compiler.                             *"; \
30         echo "**********************************************************"; \
31         echo; echo
32
33
34 include $(top_srcdir)/docs/Makefile_web.am_fragment
35
36 doc_tarball_files = \
37         docs/index.html docs/FAQ/html docs/images/*.gif \
38         docs/reference/html \
39         docs/tutorial/figures/*.png docs/tutorial/html
40
41 # This doesn't work very well in a $(srcdir) != $(builddir) setup,
42 # but this target is for maintainer use only anyway.
43
44 gtkmm-2-4-docs.tar.gz:
45         find examples -name '*.cc' -o -name '*.h' -o -name '*.xpm' -o -name '*.xml' | \
46         tar cf - --files-from - $(doc_tarball_files) | gzip -c --best >$@
47
48 # Upload documentation and examples:
49
50 post-html-recursive:
51         list='docs examples'; for subdir in $$list; do \
52           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) post-html); \
53         done
54
55 post-html-local: gtkmm-2-4-docs.tar.gz
56         rsync $(rsync_args) gtkmm-2-4-docs.tar.gz $$USER@$(web_host):$(web_path_gtkmm)
57
58 post-html: post-html-recursive post-html-local
59
60 doc-clean-recursive:
61         (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-clean)
62
63 doc-clean: doc-clean-recursive
64
65 doc-rebuild:
66         (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild)
67
68 .PHONY: post-html post-html-local post-html-recursive doc-clean doc-clean-recursive doc-rebuild
69