~kylehuff/awn-extras/weather_applet_hourly

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
NULL =
SUBDIRS = \
	applets \
	shared/python \
	shared/vala \
	po \
	$(NULL)
	
EXTRA_DIST = \
	autogen.sh \
	COPYING \
	COPYING.BSD \
	COPYING.CCASAv3.0 \
	COPYING.GPL-3 \
	COPYING.LGPL-2.1 \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in \
	shared/vala/build.vapi \
	shared/vala/libintl.vapi \
	$(NULL)

DISTCLEANFILES = \
        doltcompile \
        doltlibtool \
        intltool-extract \
        intltool-merge \
        intltool-update \
        $(NULL)

ACLOCAL_AMFLAGS = -I m4

DISTCHECK_CONFIGURE_FLAGS = --disable-pymod-checks

i18n-update: po/POTFILES.in po/POTFILES.skip
	(cd po && for lang in `grep ALL_LINGUAS ../configure.ac | cut -d'"' -f2`; do \
		echo -n "Updating $$lang:"; \
		intltool-update $$lang; \
	done)

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 install, run this:"; \
		echo "***   $(gtk_update_icon_cache)"; \
	fi