X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=Makefile.am;h=bd8dd6828cff6d5addacab4eae378164295771f5;hp=2d207666bf88c8de46e79b4f48e7aed6f26c8746;hb=f3842fe890a0819331c3a5901437c88b2e88d282;hpb=f3eb03e00dbe86f4f336676fe51dfa39d827a002 diff --git a/Makefile.am b/Makefile.am index 2d207666..bd8dd682 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,52 +1,51 @@ -SUBDIRS = po data libempathy libempathy-gtk src docs +SUBDIRS = tools extensions po data libempathy libempathy-gtk src help tests -if HAVE_MEGAPHONE -SUBDIRS += megaphone +if HAVE_NST +SUBDIRS += nautilus-sendto-plugin endif -if HAVE_NOTHERE -SUBDIRS += nothere -endif - -if HAVE_PYTHON -SUBDIRS += python -endif +ACLOCAL_AMFLAGS = -I m4 -if HAVE_TESTS -SUBDIRS += tests -endif - -DISTCHECK_CONFIGURE_FLAGS = \ - --disable-scrollkeeper \ - --enable-gtk-doc - -INTLTOOL = \ - intltool-extract.in \ - intltool-merge.in \ - intltool-update.in +DISTCHECK_CONFIGURE_FLAGS = \ + --disable-scrollkeeper \ + --disable-schemas-install EXTRA_DIST = \ - ChangeLog \ - ChangeLog.old \ - README \ - CONTRIBUTORS \ - $(INTLTOOL) + CONTRIBUTORS \ + COPYING-DOCS \ + COPYING.LGPL \ + COPYING.SHARE-ALIKE \ + ChangeLog \ + ChangeLog.old \ + README \ + autogen.sh \ + $(NULL) DISTCLEANFILES = \ - ChangeLog \ - intltool-extract \ - intltool-merge \ - intltool-update + ChangeLog # Workaround broken scrollkeeper that doesn't remove its files on # uninstall. distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' -ChangeLog: Makefile.am - git-log --pretty=short > ChangeLog - - -dist: ChangeLog +distclean-local: + if test "x$(srdcir)" = "x."; then :; else \ + rm -f ChangeLog; \ + fi + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log EMPATHY_2_27_1.. --stat) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi .PHONY: ChangeLog