This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded. https://bugzilla.gnome.org/show_bug.cgi?id=690036
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
SUBDIRS = po egg-list-box panels shell
|
|
if BUILD_DOCUMENTATION
|
|
SUBDIRS += man
|
|
endif
|
|
DIST_SUBDIRS = po panels shell man
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
$(srcdir)/INSTALL \
|
|
$(srcdir)/aclocal.m4 \
|
|
$(srcdir)/autoscan.log \
|
|
$(srcdir)/compile \
|
|
$(srcdir)/config.guess \
|
|
$(srcdir)/config.h.in \
|
|
$(srcdir)/config.sub \
|
|
$(srcdir)/configure.scan \
|
|
$(srcdir)/depcomp \
|
|
$(srcdir)/install-sh \
|
|
$(srcdir)/ltmain.sh \
|
|
$(srcdir)/missing \
|
|
$(srcdir)/mkinstalldirs \
|
|
$(srcdir)/omf.make \
|
|
$(srcdir)/xmldocs.make \
|
|
$(srcdir)/gtk-doc.make \
|
|
`find "$(srcdir)" -type f -name Makefile.in -print`
|
|
|
|
EXTRA_DIST = \
|
|
MAINTAINERS
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb --enable-gtk-doc --disable-maintainer-mode
|
|
|
|
GITIGNOREFILES=m4
|
|
|
|
-include $(top_srcdir)/git.mk
|
|
|
|
dist-hook:
|
|
@if test -d "$(srcdir)/.git"; \
|
|
then \
|
|
echo Creating ChangeLog && \
|
|
( cd "$(top_srcdir)" && \
|
|
echo '# Generated by Makefile. Do not edit.'; echo; \
|
|
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
|
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
|
|| ( rm -f ChangeLog.tmp ; \
|
|
echo Failed to generate ChangeLog >&2 ); \
|
|
else \
|
|
echo A git clone is required to generate a ChangeLog >&2; \
|
|
fi
|