diff options
-rw-r--r-- | Makefile.am | 26 | ||||
-rw-r--r-- | src/ayatanamenuitemfactory.h | 2 |
2 files changed, 27 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7e02e2e..5193b58 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,4 +52,30 @@ EXTRA_DIST = libayatana-ido.pc.in libayatana-ido3.pc.in DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc +dist-hook: + @if test -d "$(top_srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ + ( cd "$(top_srcdir)" && \ + echo '# Generated by Makefile. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git --no-pager log --since "1970" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n") > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + || (rm -f ChangeLog.tmp; \ + echo Failed to generate ChangeLog >&2 ); \ + else \ + echo Failed to generate ChangeLog: not a branch >&2; \ + fi + @if test -d "$(top_srcdir)/.git"; \ + then \ + echo Creating AUTHORS && \ + ( cd "$(top_srcdir)" && \ + echo '# Generated by Makefile. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log | grep -e "^Author:" -e "Committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ + && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ + || (rm -f AUTHORS.tmp; \ + echo Failed to generate AUTHORS >&2 ); \ + else \ + echo Failed to generate AUTHORS: not a branch >&2; \ + fi + include $(top_srcdir)/Makefile.am.coverage diff --git a/src/ayatanamenuitemfactory.h b/src/ayatanamenuitemfactory.h index 4013cce..4a241be 100644 --- a/src/ayatanamenuitemfactory.h +++ b/src/ayatanamenuitemfactory.h @@ -29,7 +29,7 @@ G_BEGIN_DECLS #define AYATANA_IS_MENU_ITEM_FACTORY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), AYATANA_TYPE_MENU_ITEM_FACTORY)) #define AYATANA_MENU_ITEM_FACTORY_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), AYATANA_TYPE_MENU_ITEM_FACTORY, AyatanaMenuItemFactoryInterface)) -#define AYATANA_MENU_ITEM_FACTORY_EXTENSION_POINT_NAME "ubuntu-menu-item-factory" +#define AYATANA_MENU_ITEM_FACTORY_EXTENSION_POINT_NAME "ayatana-menu-item-factory" typedef struct _AyatanaMenuItemFactoryInterface AyatanaMenuItemFactoryInterface; typedef struct _AyatanaMenuItemFactory AyatanaMenuItemFactory; |