GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

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

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

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

38
EXTRA_SCRIPTS = gimpinstall-1.3
39

Manish Singh's avatar
Manish Singh committed
40
EXTRA_DIST = \
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
	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	\
63
	po-script-fu/update.sh
Elliot Lee's avatar
Elliot Lee committed
64

65 66 67 68 69
DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update

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

73 74
install-exec-hook:
if DEFAULT_BINARY
75
	cd $(DESTDIR)$(bindir) \
76 77 78
	&& rm -f gimptool \
	&& $(LN_S) gimptool-1.3 gimptool
endif
79 80

uninstall-local:
81 82 83
if DEFAULT_BINARY
	rm -f $(DESTDIR)$(bindir)/gimptool
endif
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107

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