Makefile.am 1.75 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
	themes			\
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
	libgimpbase		\
	libgimpcolor		\
	libgimpmath		\
	libgimpwidgets		\
	libgimp			\
	app			\
	$(GIMP_PLUGINS)		\
	$(GIMP_MODULES)		\
	po			\
	po-libgimp		\
	po-plug-ins		\
	$(GIMP_PERL_PO)		\
	po-script-fu		\
	cursors			\
	data			\
	tips			\
	docs			\
	devel-docs		\
27
	build
Elliot Lee's avatar
Elliot Lee committed
28

Michael Natterer's avatar
Michael Natterer committed
29
bin_SCRIPTS = gimptool-1.4 @GIMPINSTALL@
30 31

EXTRA_SCRIPTS = gimpinstall
32

Manish Singh's avatar
Manish Singh committed
33
EXTRA_DIST = \
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
	README.i18n		\
	README.win32		\
	README.perl		\
	ChangeLog.pre-1-0	\
	ChangeLog.pre-1-2	\
	PLUGIN_MAINTAINERS	\
	MAINTAINERS		\
	TODO			\
	gtkrc_user		\
	unitrc			\
	gimp_logo.ppm		\
	gimp_splash.ppm		\
	rmshm			\
	user_install		\
	user_install.bat	\
	ps-menurc		\
	gimprc.win32		\
Sven Neumann's avatar
Sven Neumann committed
51 52
	config.h.win32		\
	po/po2tbl.sed.in
Elliot Lee's avatar
Elliot Lee committed
53

Manish Singh's avatar
Manish Singh committed
54
gimpdata_DATA = \
55
	gimp_logo.ppm		\
56 57 58 59 60
	gimp_splash.ppm

gimpsysconf_DATA = \
	gimprc			\
	gimprc_user		\
61
	gtkrc_user		\
62
	unitrc			\
63
	ps-menurc
Elliot Lee's avatar
Elliot Lee committed
64 65 66

gimpdata_SCRIPTS = user_install

67
scriptdata =
Elliot Lee's avatar
Elliot Lee committed
68

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

72 73
install-exec-local:
	cd $(DESTDIR)$(bindir) \
Michael Natterer's avatar
Michael Natterer committed
74 75
	&& rm -f gimp-config-1.4 \
	&& $(LN_S) gimptool-1.4 gimp-config-1.4
76 77

uninstall-local:
Michael Natterer's avatar
Michael Natterer committed
78
	rm -f $(DESTDIR)$(bindir)/gimp-config-1.4
79

Elliot Lee's avatar
Elliot Lee committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
.PHONY: files populate checkin release

files:
	@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
	  echo $$p; \
	done
	@for subdir in $(SUBDIRS); do \
	  files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
	  for file in $$files; do \
	    echo $$subdir/$$file; \
	  done; \
	done

populate:
	@echo "populating project"
	@files=`$(MAKE) files | grep -v "make\[[1-9]\]"`; prcs populate -d gimp.prj $$files

checkin: populate
	@echo "checking in project"
	@prcs checkin

release:
	$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`