File: Makefile.am

package info (click to toggle)
almanah 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,100 kB
  • ctags: 1,224
  • sloc: sh: 10,318; ansic: 8,678; makefile: 249
file content (70 lines) | stat: -rw-r--r-- 2,179 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
SUBDIRS = icons

###############################################################################
# Icons
###############################################################################

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
	@-if test -z "$(DESTDIR)"; then \
		echo "Updating GTK+ icon cache."; \
		$(gtk_update_icon_cache); \
	else \
		echo "*** Icon cache not updated.  After (un)install, run this:"; \
		echo "***   $(gtk_update_icon_cache)"; \
	fi

###############################################################################
# UI file
###############################################################################

uidir = $(datadir)/almanah
ui_DATA = almanah.ui

###############################################################################
# Desktop file
###############################################################################

@INTLTOOL_DESKTOP_RULE@

desktop_in_files = almanah.desktop.in
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

###############################################################################
# GConf schemas
###############################################################################

@INTLTOOL_SCHEMAS_RULE@

schemasdir = $(GCONF_SCHEMA_FILE_DIR)
schemas_in_files = almanah.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)

install-data-local:
if GCONF_SCHEMAS_INSTALL
	@GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 \
		--makefile-install-rule $(schemas_DATA) || \
		(echo ;\
		echo "*****************************************************"; \
		echo "Installation of schemas failed: install them manually"; \
		echo "*****************************************************";)
	@true
endif

###############################################################################
# General
###############################################################################

EXTRA_DIST = \
	$(ui_DATA)		\
	$(desktop_in_files)	\
	$(schemas_in_files)
CLEANFILES = \
	$(desktop_DATA)		\
	$(schemas_DATA)

-include $(top_srcdir)/git.mk