xed/plugins/checkupdate/Makefile.am

50 lines
1.5 KiB
Makefile
Raw Normal View History

2011-11-07 16:52:18 -06:00
# pluma win32 updater
2011-11-07 13:46:58 -06:00
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
$(LIBSOUP_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS)
plugin_LTLIBRARIES = libcheckupdate.la
libcheckupdate_la_SOURCES = \
2011-11-07 16:52:18 -06:00
pluma-check-update-plugin.h \
pluma-check-update-plugin.c
2011-11-07 13:46:58 -06:00
libcheckupdate_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
2011-11-07 16:52:18 -06:00
libcheckupdate_la_LIBADD = $(PLUMA_LIBS) $(LIBSOUP_LIBS)
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
plugin_in_files = checkupdate.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
schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
2011-11-07 16:52:18 -06:00
schemas_in_files = pluma-check-update.schemas.in
2011-11-07 13:46:58 -06:00
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
if MATECONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/plugins/checkupdate/$$p ; \
done \
fi
else
install-data-local:
endif
EXTRA_DIST = $(plugin_in_files) $(schemas_in_files)
CLEANFILES = $(plugin_DATA) $(schemas_DATA)
DISTCLEANFILES = $(plugin_DATA) $(schemas_DATA)
-include $(top_srcdir)/git.mk