Makefile.am 1.76 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 11
	m4macros	\
	tools		\
	regexrepl	\
	cursors		\
	themes		\
	po		\
	po-libgimp	\
	po-plug-ins	\
12
	po-python	\
13
	po-script-fu	\
Sven Neumann's avatar
Sven Neumann committed
14
	po-tips		\
15
	data		\
16
	desktop		\
17 18 19 20
	menus		\
	libgimpbase	\
	libgimpcolor	\
	libgimpmath	\
Manish Singh's avatar
Manish Singh committed
21
	libgimpconfig	\
22 23 24 25 26 27 28 29 30
	libgimpmodule	\
	libgimpthumb	\
	libgimpwidgets	\
	libgimp		\
	app		\
	$(GIMP_MODULES)	\
	$(GIMP_PLUGINS)	\
	etc		\
	devel-docs	\
31
	docs
Elliot Lee's avatar
Elliot Lee committed
32

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

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

Sven Neumann's avatar
Sven Neumann committed
41

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


48
EXTRA_SCRIPTS = gimpinstall-@GIMP_TOOL_VERSION@
49

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

78

79
DISTCHECK_CONFIGURE_FLAGS = --enable-gimp-console
80

81 82 83 84 85
DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update

Sven Neumann's avatar
Sven Neumann committed
86

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

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

validate-authors:
if HAVE_XMLLINT
	@$(XMLLINT) --noout --valid authors.xml || \
	  ( echo "* authors.xml INVALID *"; exit 1; )
endif

100
all-local: AUTHORS
Sven Neumann's avatar
Sven Neumann committed
101

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