Fix three minor memory leaks in the Editor by using Gtk::manage
[ardour.git] / libs / glibmm2 / Makefile.am
1 ACLOCAL_AMFLAGS = -I scripts
2
3 SUBDIRS         = tools glib examples docs scripts tests MSVC_Net2003
4 DIST_SUBDIRS    = $(SUBDIRS)
5
6 EXTRA_DIST      = build_shared/Makefile_build.am_fragment \
7                   build_shared/Makefile_build_gensrc.am_fragment \
8                   build_shared/Makefile_gensrc.am_fragment \
9                   build_shared/Makefile_gensrc_platform.am_fragment \
10                   build_shared/Makefile_build_extra.am_fragment \
11                   CHANGES README.win32
12
13
14 all-local:
15         @echo "*** Everything completed ***"
16
17 dist-hook:
18         @echo; echo; \
19         echo "**********************************************************"; \
20         echo "* IMPORTANT NOTICE:                                      *"; \
21         echo "*                                                        *"; \
22         echo "* Be sure you have done a complete build before running  *"; \
23         echo "* 'make dist' or 'make distcheck', because otherwise     *"; \
24         echo "* the tarball will _not_ contain the dependency rules    *"; \
25         echo "* generated by the compiler.                             *"; \
26         echo "**********************************************************"; \
27         echo; echo
28
29
30 include $(top_srcdir)/docs/Makefile_web.am_fragment
31
32 doc_tarball_files = \
33         docs/images/*.gif \
34         docs/internal/*.txt docs/internal/*.dia docs/reference/html
35
36 # This doesn't work very well in a $(srcdir) != $(builddir) setup,
37 # but this target is for maintainer use only anyway.
38
39 glibmm-docs.tar.gz:
40         find examples -name '*.cc' -o -name '*.h' -o -name '*.xpm' -o -name '*.xml' | \
41         tar cf - --files-from - $(doc_tarball_files) | gzip -c --best >$@
42
43 # Upload documentation and examples:
44
45 post-html-recursive:
46         list='docs examples'; for subdir in $$list; do \
47           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) post-html); \
48         done
49
50 post-html-local: glibmm-docs.tar.gz
51         rsync $(rsync_args) glibmm-docs.tar.gz $$USER@$(web_host):$(web_path_gtkmm)
52
53 post-html: post-html-recursive post-html-local
54
55 doc-clean-recursive:
56         (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-clean)
57
58 doc-clean: doc-clean-recursive
59
60 doc-rebuild:
61         (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild)
62
63 .PHONY: post-html post-html-local post-html-recursive doc-clean doc-clean-recursive doc-rebuild
64