Makefile.am 1.85 KB
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1 2
## Process this file with automake to produce Makefile.in

3
SUBDIRS = \
4 5 6 7 8 9 10
	m4macros	\
	tools		\
	cursors		\
	themes		\
	po		\
	po-libgimp	\
	po-plug-ins	\
11
	po-python	\
12
	po-script-fu	\
Sven Neumann's avatar
Sven Neumann committed
13
	po-tips		\
14
	data		\
15
	desktop		\
16 17 18 19
	menus		\
	libgimpbase	\
	libgimpcolor	\
	libgimpmath	\
Manish Singh's avatar
Manish Singh committed
20
	libgimpconfig	\
21 22 23 24 25 26 27 28 29
	libgimpmodule	\
	libgimpthumb	\
	libgimpwidgets	\
	libgimp		\
	app		\
	$(GIMP_MODULES)	\
	$(GIMP_PLUGINS)	\
	etc		\
	devel-docs	\
30
	docs
Elliot Lee's avatar
Elliot Lee committed
31

32
bin_SCRIPTS = gimptool-@GIMP_TOOL_VERSION@ @GIMPINSTALL@
33 34

pkgconfigdir = $(libdir)/pkgconfig
35
pkgconfig_DATA = \
36 37 38
	gimp-@GIMP_PKGCONFIG_VERSION@.pc	\
	gimpthumb-@GIMP_PKGCONFIG_VERSION@.pc	\
	gimpui-@GIMP_PKGCONFIG_VERSION@.pc
39

Sven Neumann's avatar
Sven Neumann committed
40

41
AUTHORS: authors.xml authors.xsl
Sven Neumann's avatar
Sven Neumann committed
42 43 44 45 46
if HAVE_XSLTPROC
	$(XSLTPROC) authors.xsl $< > $(@) || rm -f $(@)
endif


47
EXTRA_SCRIPTS = gimpinstall-@GIMP_TOOL_VERSION@
48

Manish Singh's avatar
Manish Singh committed
49
EXTRA_DIST = \
50 51 52 53 54
	AUTHORS			\
	COPYING			\
	ChangeLog		\
	ChangeLog.pre-1-0	\
	ChangeLog.pre-1-2	\
55
	ChangeLog.pre-2-0	\
56 57
	ChangeLog.pre-2-2	\
	ChangeLog.pre-2-4	\
58 59
	HACKING			\
	INSTALL			\
Sven Neumann's avatar
Sven Neumann committed
60
	LICENSE			\
61
	NEWS			\
62
	NEWS.pre-2-0		\
63
	NEWS.pre-2-2		\
64
	NEWS.pre-2-4		\
65 66
	README			\
	README.i18n		\
Sven Neumann's avatar
Sven Neumann committed
67 68 69
	authors.dtd		\
	authors.xml		\
	authors.xsl		\
70
	config.h.win32		\
71
	gimp-zip.in		\
72
	gimpdefs.msc		\
Dave Neary's avatar
Dave Neary committed
73
	gimptool-win32.c.in	\
74 75 76
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in	\
77 78
	makefile.msc		\
	mkinstalldirs
Elliot Lee's avatar
Elliot Lee committed
79

80

81
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
82

83 84 85 86 87
DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update

Sven Neumann's avatar
Sven Neumann committed
88

89 90
gimpinstall-@GIMP_TOOL_VERSION@:
	$(LN_S) $(srcdir)/install-sh $(srcdir)/gimpinstall-@GIMP_TOOL_VERSION@
Sven Neumann's avatar
Sven Neumann committed
91

Sven Neumann's avatar
Sven Neumann committed
92
check-defs:
93 94
	@$(PYTHON) $(top_srcdir)/tools/defcheck.py $(top_srcdir) || \
	  ( echo "*** .def files inconsistent ***"; exit 1; )
Sven Neumann's avatar
Sven Neumann committed
95 96 97

validate-authors:
if HAVE_XMLLINT
98 99 100
	@cd $(srcdir); \
	$(XMLLINT) --noout --valid authors.xml || \
	  ( echo "*** authors.xml INVALID ***"; exit 1; )
Sven Neumann's avatar
Sven Neumann committed
101 102
endif

103
all-local: AUTHORS
Sven Neumann's avatar
Sven Neumann committed
104

Sven Neumann's avatar
Sven Neumann committed
105
dist-hook: check-defs validate-authors