[devhelp] build: simplify misc/gedit-plugin/Makefile.am
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] build: simplify misc/gedit-plugin/Makefile.am
- Date: Sat, 12 Nov 2016 19:26:05 +0000 (UTC)
commit 8e6e70160fe8eb7317c769574981b0798e9baea4
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Nov 12 20:18:09 2016 +0100
build: simplify misc/gedit-plugin/Makefile.am
A *.plugin file is needed for a gedit plugin, it is the same as a
*.desktop file. So the *.plugin can be generated with msgfmt directly
from the *.desktop.in file.
https://bugzilla.gnome.org/show_bug.cgi?id=774069
misc/gedit-plugin/Makefile.am | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/misc/gedit-plugin/Makefile.am b/misc/gedit-plugin/Makefile.am
index a97206a..f0a2b57 100644
--- a/misc/gedit-plugin/Makefile.am
+++ b/misc/gedit-plugin/Makefile.am
@@ -1,15 +1,12 @@
DESKTOP_IN_FILES = devhelp.plugin.desktop.in
-DESKTOP_FILES = devhelp.plugin.desktop
+PLUGIN_FILE = devhelp.plugin
-$(DESKTOP_FILES): $(DESKTOP_IN_FILES)
+$(PLUGIN_FILE): $(DESKTOP_IN_FILES)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
plugindir = $(libdir)/gedit/plugins
plugin_PYTHON = devhelp.py
-plugin_DATA = devhelp.plugin
+plugin_DATA = $(PLUGIN_FILE)
-devhelp.plugin: devhelp.plugin.desktop
- cp devhelp.plugin.desktop devhelp.plugin
-
-CLEANFILES = $(DESKTOP_FILES) $(plugin_DATA)
+CLEANFILES = $(PLUGIN_FILE)
EXTRA_DIST = $(DESKTOP_IN_FILES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]