aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 772d4cb00bb9c2b2bb5c73d7d3a057f67bf63093 (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
desktopdir = $(datadir)/applications
desktop_in_files = camorama.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

SUBDIRS = src pixmaps data po

EXTRA_DIST =   autogen.sh     \
	camorama.desktop     \
	camorama.desktop.in  \
	intltool-extract.in     \
	intltool-merge.in    \
	intltool-update.in

CLEANFILES=\
	camorama.desktop

DISTCLEANFILES=\
	intltool-extract\
	intltool-merge	\
	intltool-update
					
pixmapdir   = $(datadir)/pixmaps

install-data-local:
@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
	$(mkinstalldirs) $(DESTDIR)$(pixmapdir); \
	$(mkinstalldirs) $(DESTDIR)$(datadir)/camorama/pixmaps; \
	for pixmap in $(srcdir)/pixmaps/*.png; do \
												if test -f $$pixmap; then \
												$(INSTALL_DATA) $$pixmap $(DESTDIR)$(pixmapdir); \
												$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/camorama/pixmaps; \
												fi \
												done \
												fi

dist-hook:
	if test -d pixmaps; then \
	mkdir $(distdir)/pixmaps; \
	for pixmap in pixmaps/*; do \
	if test -f $$pixmap; then \
	cp -p $$pixmap $(distdir)/pixmaps; \
	fi \
	done \
fi

Privacy Policy