2011-11-07 13:46:58 -06:00
|
|
|
# time plugin
|
2011-11-07 16:52:18 -06:00
|
|
|
plugindir = $(PLUMA_PLUGINS_LIBS_DIR)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
2011-11-07 16:52:18 -06:00
|
|
|
$(PLUMA_CFLAGS) \
|
2011-11-07 13:46:58 -06:00
|
|
|
$(WARN_CFLAGS) \
|
|
|
|
$(DISABLE_DEPRECATED_CFLAGS)
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES = libtime.la
|
|
|
|
|
|
|
|
libtime_la_SOURCES = \
|
2011-11-07 16:52:18 -06:00
|
|
|
pluma-time-plugin.h \
|
|
|
|
pluma-time-plugin.c
|
2011-11-07 13:46:58 -06:00
|
|
|
|
|
|
|
libtime_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
2011-11-07 16:52:18 -06:00
|
|
|
libtime_la_LIBADD = $(PLUMA_LIBS)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2011-11-07 16:52:18 -06:00
|
|
|
uidir = $(PLUMA_PLUGINS_DATA_DIR)/time
|
2011-11-07 13:46:58 -06:00
|
|
|
ui_DATA = \
|
2011-11-07 16:52:18 -06:00
|
|
|
pluma-time-dialog.ui \
|
|
|
|
pluma-time-setup-dialog.ui
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2011-11-07 16:52:18 -06:00
|
|
|
plugin_in_files = time.pluma-plugin.desktop.in
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2011-11-07 16:52:18 -06:00
|
|
|
%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2011-11-07 16:52:18 -06:00
|
|
|
plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2013-01-24 14:06:15 -06:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
|
|
|
gsettings_SCHEMAS = org.mate.pluma.plugins.time.gschema.xml
|
|
|
|
@GSETTINGS_RULES@
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2013-01-24 14:06:15 -06:00
|
|
|
%.gschema.xml.in: %.gschema.xml.in.in Makefile
|
|
|
|
$(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
|
|
|
|
|
|
|
|
EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(gsettings_SCHEMAS_in_in)
|
|
|
|
|
|
|
|
CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMASn)
|
|
|
|
DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|