summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 1d9ffcec1a176923964398a1782565ec14764f0b (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
## Process this file with automake to produce Makefile.in

SUBDIRS = src po pixmaps widgets doc

@INTLTOOL_DESKTOP_RULE@

DESKTOP_IN_FILES = glade-3.desktop.in
DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop)

desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)

appicondir = $(datadir)/icons/hicolor/48x48/apps
appicon_DATA = glade-3.png

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

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


EXTRA_DIST = \
	glade-3.desktop.in \
	glade-3.png \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in


CLEANFILES = $(DESKTOP_FILES)

DISTCLEANFILES = intltool-extract intltool-merge intltool-update