Makefile.am 2.05 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
	libgimpbase		\
	libgimpcolor		\
	libgimpmath		\
	libgimpwidgets		\
22 23
	libgimpproxy            \
	libgimptool		\
24 25 26
	libgimp			\
	app			\
	$(GIMP_MODULES)		\
27
	$(GIMP_PLUGINS)		\
28 29
	docs			\
	devel-docs		\
30
	build
Elliot Lee's avatar
Elliot Lee committed
31

32 33 34 35
bin_SCRIPTS = gimptool-1.3 @GIMPINSTALL@

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

37
EXTRA_SCRIPTS = gimpinstall-1.3
38

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

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

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

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

# 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"