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

3 4 5 6 7
SUBDIRS = \
	tools		\
	po		\
	po-libgimp	\
	po-plug-ins	\
Sven Neumann's avatar
Sven Neumann committed
8
	po-script-fu	\
9 10 11 12 13 14 15 16
	intl		\
	libgimp		\
	app		\
	$(GIMP_PLUGINS)	\
	$(GIMP_MODULES)	\
	data		\
	tips		\
	help		\
Sven Neumann's avatar
Sven Neumann committed
17
	$(GIMPDOCS)	\
18
	devel-docs
Elliot Lee's avatar
Elliot Lee committed
19

20 21 22
bin_SCRIPTS = gimptool @GIMPINSTALL@

EXTRA_SCRIPTS = gimpinstall
23

Manish Singh's avatar
Manish Singh committed
24
EXTRA_DIST = \
25 26
	cursors/mouse.xbm			\
	cursors/mouse_mask.xbm			\
27 28
	cursors/crosshair.xbm			\
	cursors/crosshair_mask.xbm		\
29 30
	cursors/crosshair_small.xbm		\
	cursors/crosshair_small_mask.xbm	\
31 32 33 34
	cursors/bad.xbm				\
	cursors/bad_mask.xbm			\
	cursors/zoom.xbm			\
	cursors/zoom_mask.xbm			\
Sven Neumann's avatar
removed  
Sven Neumann committed
35 36
	cursors/dropper.xbm			\
	cursors/dropper_mask.xbm		\
37 38 39
	\
	cursors/plus.xbm			\
	cursors/plus_mask.xbm			\
40 41
	cursors/minus.xbm			\
	cursors/minus_mask.xbm			\
42 43
	cursors/intersect.xbm			\
	cursors/intersect_mask.xbm		\
Sven Neumann's avatar
removed  
Sven Neumann committed
44 45
	cursors/move.xbm			\
	cursors/move_mask.xbm			\
46
	cursors/resize.xbm			\
Michael Natterer's avatar
typo.  
Michael Natterer committed
47
	cursors/resize_mask.xbm			\
48 49
	cursors/control.xbm			\
	cursors/control_mask.xbm		\
50 51
	cursors/anchor.xbm			\
	cursors/anchor_mask.xbm			\
52 53 54
	cursors/hand.xbm			\
	cursors/hand_mask.xbm			\
	\
Sven Neumann's avatar
removed  
Sven Neumann committed
55 56
	cursors/rect_select_small.xbm		\
	cursors/rect_select_small_mask.xbm	\
57 58 59 60 61 62 63 64 65 66 67 68
	cursors/ellipse_select_small.xbm	\
	cursors/ellipse_select_small_mask.xbm	\
	cursors/free_select_small.xbm		\
	cursors/free_select_small_mask.xbm	\
	cursors/fuzzy_select_small.xbm		\
	cursors/fuzzy_select_small_mask.xbm	\
	cursors/bezier_select_small.xbm		\
	cursors/bezier_select_small_mask.xbm	\
	cursors/scissors_small.xbm		\
	cursors/scissors_small_mask.xbm		\
	cursors/move_small.xbm			\
	cursors/move_small_mask.xbm		\
Sven Neumann's avatar
removed  
Sven Neumann committed
69 70
	cursors/zoom_small.xbm			\
	cursors/zoom_small_mask.xbm		\
71 72 73 74
	cursors/crop_small.xbm			\
	cursors/crop_small_mask.xbm		\
	cursors/resize_small.xbm		\
	cursors/resize_small_mask.xbm		\
75 76 77 78 79 80
	cursors/rotate_small.xbm		\
	cursors/rotate_small_mask.xbm		\
	cursors/shear_small.xbm			\
	cursors/shear_small_mask.xbm		\
	cursors/perspective_small.xbm		\
	cursors/perspective_small_mask.xbm	\
81 82 83 84 85 86 87 88 89 90 91
	cursors/flip_horizontal_small.xbm	\
	cursors/flip_horizontal_small_mask.xbm	\
	cursors/flip_vertical_small.xbm		\
	cursors/flip_vertical_small_mask.xbm	\
	cursors/text_small.xbm			\
	cursors/text_small_mask.xbm		\
	cursors/dropper_small.xbm		\
	cursors/dropper_small_mask.xbm		\
	cursors/bucket_fill_small.xbm		\
	cursors/bucket_fill_small_mask.xbm	\
	cursors/blend_small.xbm			\
Manish Singh's avatar
Manish Singh committed
92
	cursors/blend_small_mask.xbm		\
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
	cursors/pencil_small.xbm		\
	cursors/pencil_small_mask.xbm		\
	cursors/paintbrush_small.xbm		\
	cursors/paintbrush_small_mask.xbm	\
	cursors/eraser_small.xbm		\
	cursors/eraser_small_mask.xbm		\
	cursors/airbrush_small.xbm		\
	cursors/airbrush_small_mask.xbm		\
	cursors/clone_small.xbm			\
	cursors/clone_small_mask.xbm		\
	cursors/blur_small.xbm			\
	cursors/blur_small_mask.xbm		\
	cursors/ink_small.xbm			\
	cursors/ink_small_mask.xbm		\
	cursors/dodge_small.xbm			\
	cursors/dodge_small_mask.xbm		\
	cursors/burn_small.xbm			\
	cursors/burn_small_mask.xbm		\
	cursors/smudge_small.xbm		\
	cursors/smudge_small_mask.xbm		\
	cursors/measure_small.xbm		\
	cursors/measure_small_mask.xbm		\
115 116 117 118 119
	docs/Wilber.xcf.gz			\
	docs/Wilber.xcf.gz.README		\
	docs/cheat_sheet.txt			\
	docs/gimp.txt				\
	docs/keybindings.txt 			\
Manish Singh's avatar
Manish Singh committed
120 121
	docs/quick_reference.ps 		\
	docs/quick_reference.tar.gz		\
Manish Singh's avatar
Manish Singh committed
122 123 124 125 126 127 128 129
	pixmaps/anchor.xpm			\
	pixmaps/chain.xpm			\
	pixmaps/channel.xbm			\
	pixmaps/delete.xpm			\
	pixmaps/duplicate.xpm			\
	pixmaps/eek.xpm				\
	pixmaps/eye.xbm				\
	pixmaps/first.xpm			\
Sven Neumann's avatar
Sven Neumann committed
130
	pixmaps/folder.xpm			\
Manish Singh's avatar
Manish Singh committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
	pixmaps/last.xpm			\
	pixmaps/layer.xbm			\
	pixmaps/linked.xbm			\
	pixmaps/locked.xbm			\
	pixmaps/lower.xpm			\
	pixmaps/mask.xbm			\
	pixmaps/navbutton.xpm			\
	pixmaps/next.xpm			\
	pixmaps/new.xpm				\
	pixmaps/no.xpm				\
	pixmaps/raise.xpm			\
	pixmaps/path.xbm			\
	pixmaps/penadd.xpm			\
	pixmaps/pendel.xpm			\
	pixmaps/penedit.xpm			\
	pixmaps/pennorm.xpm			\
	pixmaps/penstroke.xpm			\
	pixmaps/play.xpm			\
	pixmaps/prev.xpm			\
	pixmaps/qmasksel.xpm			\
	pixmaps/qmasknosel.xpm			\
	pixmaps/question.xpm			\
	pixmaps/topath.xpm			\
	pixmaps/toselection.xpm			\
	pixmaps/update.xpm      		\
	pixmaps/wilber.xpm			\
Michael Natterer's avatar
Michael Natterer committed
157
	pixmaps/wilber2.xpm			\
Manish Singh's avatar
Manish Singh committed
158 159 160
	pixmaps/yes.xpm         		\
	pixmaps/zoom_in.xpm			\
	pixmaps/zoom_out.xpm			\
161
	\
Manish Singh's avatar
Manish Singh committed
162 163 164 165 166 167 168 169 170 171 172
	README.i18n				\
	README.win32				\
	README.perl				\
	ChangeLog.pre-1-0			\
	PLUGIN_MAINTAINERS			\
	MAINTAINERS				\
	TODO					\
	gtkrc					\
	unitrc					\
	gimp_logo.ppm				\
	gimp_splash.ppm				\
Michael Natterer's avatar
Michael Natterer committed
173
	gimp1_0_splash.ppm			\
Manish Singh's avatar
Manish Singh committed
174 175 176 177 178 179 180 181 182
	rmshm					\
	user_install				\
	user_install.bat			\
	ps-menurc				\
	gimp.1					\
	gimptool.1				\
	gimp.m4					\
	gimprc.win32				\
	config.h.win32				\
Manish Singh's avatar
Manish Singh committed
183
	gimp.spec
Elliot Lee's avatar
Elliot Lee committed
184

Manish Singh's avatar
Manish Singh committed
185
gimpdata_DATA = \
186 187 188
	gimprc			 \
	gimprc_user		 \
	gtkrc			 \
189
	unitrc			 \
190 191
	gimp_logo.ppm		 \
	gimp_splash.ppm		 \
192
	ps-menurc
Elliot Lee's avatar
Elliot Lee committed
193 194 195

gimpdata_SCRIPTS = user_install

Manish Singh's avatar
Manish Singh committed
196
man_MANS = gimp.1 gimptool.1 gimprc.5
197

Manish Singh's avatar
Manish Singh committed
198
m4datadir = $(datadir)/aclocal
199 200 201
m4data_DATA = gimp.m4

scriptdata =
Elliot Lee's avatar
Elliot Lee committed
202

203 204 205
gimpinstall:
	$(LN_S) $(srcdir)/install-sh $(srcdir)/gimpinstall

206 207 208 209 210 211 212 213
install-exec-local:
	cd $(DESTDIR)$(bindir) \
	&& rm -f gimp-config \
	&& $(LN_S) gimptool gimp-config

uninstall-local:
	rm -f $(DESTDIR)$(bindir)/gimp-config

Elliot Lee's avatar
Elliot Lee committed
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
.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"`