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

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

30 31 32 33
bin_SCRIPTS = gimptool-1.3 @GIMPINSTALL@

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

35
EXTRA_SCRIPTS = gimpinstall-1.3
36

Manish Singh's avatar
Manish Singh committed
37
EXTRA_DIST = \
38 39 40
	AUTHORS				\
	COPYING				\
	ChangeLog			\
Sven Neumann's avatar
Sven Neumann committed
41 42
	ChangeLog.pre-1-0		\
	ChangeLog.pre-1-2		\
43 44
	HACKING				\
	INSTALL				\
Sven Neumann's avatar
Sven Neumann committed
45
	MAINTAINERS			\
46 47 48 49 50 51
	NEWS				\
	PLUGIN_MAINTAINERS		\
	README				\
	README.i18n			\
	README.perl			\
	README.win32			\
Sven Neumann's avatar
Sven Neumann committed
52
	TODO				\
53
	TODO.xml			\
Sven Neumann's avatar
Sven Neumann committed
54
	config.h.win32			\
55 56 57
	intltool-extract.in		\
	intltool-merge.in		\
	intltool-update.in		\
Sven Neumann's avatar
Sven Neumann committed
58 59 60
	po-libgimp/update.sh		\
	po-plug-ins/update.sh		\
	po-script-fu/script-fu-xgettext	\
61
	po-script-fu/update.sh
Elliot Lee's avatar
Elliot Lee committed
62

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

66 67
install-exec-hook:
if DEFAULT_BINARY
68
	cd $(DESTDIR)$(bindir) \
69 70 71
	&& rm -f gimptool \
	&& $(LN_S) gimptool-1.3 gimptool
endif
72 73

uninstall-local:
74 75 76
if DEFAULT_BINARY
	rm -f $(DESTDIR)$(bindir)/gimptool
endif
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

# This is a version of the automake-1.4 distcheck rule modified
# to pass --enable-gtk-doc to ./configure
#
mydistcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base --enable-gtk-doc \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) dist
	-rm -rf $(distdir)
	@banner="$(distdir).tar.gz is ready for distribution"; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"