Makefile.am 1.82 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

Manish Singh's avatar
Manish Singh committed
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	\
76 77
	makefile.msc		\
	mkinstalldirs
Elliot Lee's avatar
Elliot Lee committed
78

79

80
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
81

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

Sven Neumann's avatar
Sven Neumann committed
87

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

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

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

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

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