Makefile.am 1.28 KB
Newer Older
1
SUBDIRS = libmenu desktop-directories layout util po
Mark McLoughlin's avatar
Mark McLoughlin committed
2

3
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
4

5
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
6

Mark McLoughlin's avatar
Mark McLoughlin committed
7 8
EXTRA_DIST = 			\
	HACKING			\
9
	MAINTAINERS
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24
MAINTAINERCLEANFILES = \
	$(srcdir)/INSTALL \
	$(srcdir)/aclocal.m4 \
	$(srcdir)/config.guess \
	$(srcdir)/config.h.in \
	$(srcdir)/config.sub \
	$(srcdir)/depcomp \
	$(srcdir)/install-sh \
	$(srcdir)/ltmain.sh \
	$(srcdir)/missing \
	$(srcdir)/mkinstalldirs \
	$(srcdir)/py-compile \
	`find "$(srcdir)" -type f -name Makefile.in -print` \
	$(srcdir)/configure \
25 26 27 28 29 30
	$(srcdir)/m4/intltool.m4 \
	$(srcdir)/m4/libtool.m4 \
	$(srcdir)/m4/ltoptions.m4 \
	$(srcdir)/m4/ltsugar.m4 \
	$(srcdir)/m4/ltversion.m4 \
	$(srcdir)/m4/lt~obsolete.m4
31

32 33 34 35 36 37 38 39 40 41 42 43 44
CHANGELOG_GIT_RANGE = GNOME_MENUS_2_26_1..
dist-hook:
	$(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
	  ( echo '# Generated by Makefile. Do not edit.'; echo; \
	    GIT_DIR="$(top_srcdir)/.git" ./missing --run \
	    git log $(CHANGELOG_GIT_RANGE) --no-color -M -C --name-status ) \
	  > ChangeLog.tmp \
	  && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
	  || ( rm -f ChangeLog.tmp ; echo Failed to generate ChangeLog >&2 ); \
	else \
	  echo A git checkout is required to generate ChangeLog >&2; \
	fi

45
GITIGNOREFILES = $(PACKAGE)-\*.tar.{gz,bz2,xz}
46
-include $(top_srcdir)/git.mk