summaryrefslogtreecommitdiff
path: root/plugins/trailsave/Makefile.am
diff options
context:
space:
mode:
authorDaggerbot <[email protected]>2015-08-28 09:42:37 +0000
committerinfirit <[email protected]>2015-09-02 11:34:01 +0200
commit9f166a05aa5fb5ac8ce17f025aebf2a190b52672 (patch)
treec6891dd290f76882823cebbdc0113ddbf3415324 /plugins/trailsave/Makefile.am
parentb24934e186456b50d7702192ec3a270926831791 (diff)
downloadpluma-9f166a05aa5fb5ac8ce17f025aebf2a190b52672.tar.bz2
pluma-9f166a05aa5fb5ac8ce17f025aebf2a190b52672.tar.xz
Add plugin to strip trailing spaces on save.
Diffstat (limited to 'plugins/trailsave/Makefile.am')
-rw-r--r--plugins/trailsave/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/trailsave/Makefile.am b/plugins/trailsave/Makefile.am
new file mode 100644
index 00000000..c8446959
--- /dev/null
+++ b/plugins/trailsave/Makefile.am
@@ -0,0 +1,31 @@
+# trailsave plugin
+plugindir = $(PLUMA_PLUGINS_LIBS_DIR)
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ $(PLUMA_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(DISABLE_DEPRECATED_CFLAGS)
+
+plugin_LTLIBRARIES = libtrailsave.la
+
+libtrailsave_la_SOURCES = \
+ pluma-trail-save-plugin.h \
+ pluma-trail-save-plugin.c
+
+libtrailsave_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+libtrailsave_la_LIBADD = $(PLUMA_LIBS)
+
+plugin_in_files = trailsave.pluma-plugin.desktop.in
+
+%.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
+
+plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
+
+EXTRA_DIST = $(plugin_in_files)
+
+CLEANFILES = $(plugin_DATA)
+DISTCLEANFILES = $(plugin_DATA)
+
+
+-include $(top_srcdir)/git.mk