1 ACLOCAL_AMFLAGS = -I scripts
3 SUBDIRS = tools glib gio scripts
4 DIST_SUBDIRS = $(SUBDIRS)
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_conditional.am_fragment \
15 @echo "*** Everything completed ***"
19 echo "**********************************************************"; \
20 echo "* IMPORTANT NOTICE: *"; \
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 "**********************************************************"; \
30 SVN_REV=`svnversion -n`
32 SVN_PATH=`svn info |grep "$(URL_KEY)" |sed -e "s/$(URL_KEY)\s*//"`
33 ROOT_KEY=Repository Root:
34 SVN_ROOT=`svn info |grep "$(ROOT_KEY)" |sed -e "s/$(ROOT_KEY)\s*//"`
36 tag-release: distcheck
37 @svn cp -r$(SVN_REV) -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) \
38 || (echo "Tagging failed. Do you have local changes that are not committed?" \
39 && echo "Try running 'svn update'." && false)
40 @echo "Release Tagged."
42 upload-release: tag-release
43 scp $(DIST_ARCHIVES) master.gnome.org:
44 @echo "Tarball uploaded. Now run install-module on master.gnome.org"
45 @echo "[hint: make install-module]"
47 RELEASE_ANNOUNCE_LIST = gnome-announce-list@gnome.org, gtkmm-list@gnome.org
49 @echo "Please send the following announcement to:"
50 @echo "$(RELEASE_ANNOUNCE_LIST)"
52 @echo "Subject: ANNOUNCE: $(PACKAGE) $(VERSION) released"
54 @echo "============================== CUT HERE =============================="
55 @echo "* ABOUT $(PACKAGE) *"
57 @echo " $(PACKAGE) is a C++ API for glib and gio. It is useful on its own "
58 @echo " and is a dependency of gtkmm, the C++ API for GTK+."
60 @echo " $(PACKAGE) $(GLIBMM_RELEASE) wraps new API in glib $(GLIBMM_RELEASE), including the gio library, "
61 @echo " and is API/ABI-compatibile with older versions of glibmm back to "
62 @echo " version 2.4. It is a version of the glibmm-2.4 API."
64 @echo " For more information, please visit http://gtkmm.org/"
68 @echo " Source packages for $(PACKAGE) (as well as API-stable bindings for the "
69 @echo " rest of the GNOME platform) can be downloaded from:"
71 @echo " http://www.gtkmm.org/download.shtml"
73 @echo "* DEVELOPMENT *"
75 @echo " There is active discussion on the mailing list: "
76 @echo " http://www.gtkmm.org/mailinglist.shtml"
77 @echo " and in the #c++ channel on irc.gnome.org"
79 @echo " gtkmm and $(PACKAGE) stay in-sync with GTK+ by following the official "
80 @echo " GNOME release schedule:"
82 @echo " http://www.gnome.org/start/unstable/"
86 @echo " --- INSERT NEWS HERE ---"
87 @echo "============================== CUT HERE =============================="
90 ssh master.gnome.org install-module $(DIST_ARCHIVES)
92 release: upload-release release-announce
94 .PHONY: post-html post-html-local post-html-recursive release tag-release upload-release release-announce install-module