summaryrefslogtreecommitdiff
path: root/timerapplet/data/Makefile.am
blob: 2b8cebd4d9dba25fbadda1ad58d96922a8df08fd (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
NULL =

APPLET_LOCATION = $(libdir)/mate-applets/libmate-timer-applet.so

appletsdir       = $(datadir)/mate-panel/applets
applets_in_files = org.mate.applets.TimerApplet.mate-panel-applet.desktop.in
applets_DATA     = $(applets_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)

$(applets_in_files): $(applets_in_files).in Makefile
	$(AM_V_GEN)sed \
		-e "s|\@APPLET_LOCATION\@|$(APPLET_LOCATION)|" \
		$< > $@
$(applets_DATA): $(applets_in_files) Makefile
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@


timer_gschema_in_files = org.mate.panel.applet.timer.gschema.xml.in
gsettings_SCHEMAS = $(timer_gschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@

EXTRA_DIST =					\
	$(applets_in_files).in			\
	$(timer_gschema_in_files)		\
	timerapplet-preferences.ui		\
	timerapplet-resources.gresource.xml	\
	$(NULL)

CLEANFILES =			\
	$(applets_DATA)		\
	$(applets_in_files)	\
	$(gsettings_SCHEMAS)	\
	*.gschema.valid		\
	$(NULL)

-include $(top_srcdir)/git.mk