File: Makefile.am

package info (click to toggle)
twitux 0.61-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,312 kB
  • ctags: 566
  • sloc: sh: 8,981; ansic: 5,367; makefile: 189
file content (60 lines) | stat: -rw-r--r-- 1,614 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
desktopdir 	 = $(datadir)/applications
desktop_in_files = twitux.desktop.in.in
desktop_DATA 	 = $(desktop_in_files:.desktop.in.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

schemasdir	 = $(GCONF_SCHEMA_FILE_DIR)
schemas_in_files = twitux.schemas.in
schemas_DATA 	 = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@

gladedir = $(datadir)/twitux
glade_DATA = 				\
	add_friend_dialog.glade		\
	account_dialog.glade		\
	main_window.glade		\
	preferences_dialog.glade	\
	send_message_dialog.glade	\
	spell_dialog.glade		\
	tray_menu.glade

icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = twitux.png
svgicondir = $(datadir)/icons/hicolor/scalable/apps
svgicon_DATA = twitux.svg
	
EXTRA_DIST =			\
	$(glade_DATA)		\
	$(icon_DATA)		\
	$(svgicon_DATA)		\
	$(desktop_in_files)	\
	$(schemas_in_files)
	
DISTCLEANFILES =		\
	$(desktop_DATA)		\
	$(schemas_DATA)
	
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
	
if GCONF_SCHEMAS_INSTALL
install-data-local:
	        if test -z "$(DESTDIR)" ; then \
	                for p in $(schemas_DATA) ; do \
	                        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
	                done \
	        fi
else
install-data-local:
endif