## Process this file with automake to produce Makefile.in

SUBDIRS = \
	m4macros		\
	tools			\
	regexrepl		\
	pixmaps			\
	cursors			\
	themes			\
	po			\
	po-libgimp		\
	po-plug-ins		\
	po-script-fu		\
	data			\
	tips			\
	libgimpcolor		\
	libgimpmath		\
	libgimpbase		\
	libgimpmodule		\
	libgimpwidgets		\
	libgimpproxy            \
	libgimptool		\
	libgimp			\
	app			\
	$(GIMP_MODULES)		\
	$(GIMP_PLUGINS)		\
	etc			\
	docs			\
	devel-docs

bin_SCRIPTS = gimptool-1.3 @GIMPINSTALL@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gimp-1.3.pc gimpui-1.3.pc

EXTRA_SCRIPTS = gimpinstall-1.3

EXTRA_DIST = \
	AUTHORS			\
	COPYING			\
	ChangeLog		\
	ChangeLog.pre-1-0	\
	ChangeLog.pre-1-2	\
	HACKING			\
	INSTALL			\
	MAINTAINERS		\
	NEWS			\
	PLUGIN_MAINTAINERS	\
	README			\
	README.i18n		\
	README.win32		\
	TODO.xml		\
	config.h.win32		\
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in	\
	po-libgimp/update.sh	\
	po-plug-ins/update.sh	\
	po-script-fu/update.sh

DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update


gimpinstall-1.3:
	$(LN_S) $(srcdir)/install-sh $(srcdir)/gimpinstall-1.3

install-exec-hook:
if DEFAULT_BINARY
	cd $(DESTDIR)$(bindir) \
	&& rm -f gimptool \
	&& $(LN_S) gimptool-1.3 gimptool
endif

uninstall-local:
if DEFAULT_BINARY
	rm -f $(DESTDIR)$(bindir)/gimptool
endif
