summaryrefslogtreecommitdiffstats
path: root/kdbg/pics/Makefile.am
blob: d5d7163e612edca66453e73a3c48cb1a14d0fe97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# toolbar icons

kdbgiconsdir = $(kde_datadir)/kdbg/icons
kdbgicons_ICON = \
	pulse \
	brkpt \
	pgmfinish \
	pgmnext \
	pgmnexti \
	pgmrun \
	pgmstep \
	pgmstepi \
	execopen

# line items and other pictograms
PICTOGRAMS = \
	brkena.xpm \
	brkdis.xpm \
	brktmp.xpm \
	brkcond.xpm \
	brkorph.xpm \
	pcinner.xpm \
	pcup.xpm \
	regs.xpm \
	watch.xpm \
	watchcoded.xpm \
	watchena.xpm \
	watchdis.xpm \
	pointer.xpm


pics_DATA = $(PICTOGRAMS)
picsdir = $(kde_datadir)/kdbg/pics

# application icon
KDE_ICON = kdbg

animation = $(shell cd "$(srcdir)" && echo hi22-action-pulse0000*.png)

# this requires ImageMagick
hi22-action-pulse.png: hi22-action-pulse.pngseq
	list="$(animation)" ; \
	montage +frame +shadow +label -background black \
		-geometry 22x22 \
		-tile 1x`echo $$list | wc -w` \
		$$list hi22-action-pulse.png

hi22-action-pulse.pngseq: hi22-action-pulse.xml
	@echo "Using cinelerra render $< into a PNG sequence $@"
	@echo "If you do not have cinelerra, just touch $@"
	exit 1

# This file can be rendered by cinelerra into a "PNG sequence".
# This produces the PNG sequence $(animation), which is pasted together
# by `make hi22-action-pulse.png'.
EXTRA_DIST = hi22-action-pulse.xml $(animation)