build: add built .plugin files to CLEANFILES
[anjuta.git] / plugins / indentation-python-style / Makefile.am
blobc8aae72e5efd9a5df71e1433ae86524a7fe05e00
1 # Plugin UI files
2 indent_python_uidir = $(anjuta_ui_dir)
3 dist_indent_python_ui_DATA = anjuta-indentation-python-style.xml
5 # Plugin Glade file
6 indent_python_gladedir = $(anjuta_glade_dir)
7 dist_indent_python_glade_DATA = anjuta-indentation-python-style.ui
9 # Plugin Icon file
10 indent_python_pixmapsdir = $(anjuta_image_dir)
11 dist_indent_python_pixmaps_DATA = anjuta-indentation-python-style-plugin.png
13 # Plugin description file
14 plugin_in_files = anjuta-indentation-python-style.plugin.in
15 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
17 indent_python_plugindir = $(anjuta_plugin_dir)
18 dist_indent_python_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
20 AM_CPPFLAGS = \
21         $(XML_CFLAGS) \
22         $(LIBANJUTA_CFLAGS) \
23         -DG_LOG_DOMAIN=\"indentation-python-style\"
25 # Where to install the plugin
26 plugindir = $(anjuta_plugin_dir)
28 # The plugin
29 plugin_LTLIBRARIES = libanjuta-indentation-python-style.la
31 # Plugin sources
32 libanjuta_indentation_python_style_la_SOURCES = \
33         plugin.c \
34         plugin.h \
35         python-indentation.c \
36         python-indentation.h
38 libanjuta_indentation_python_style_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
40 # Plugin dependencies
41 libanjuta_indentation_python_style_la_LIBADD = $(LIBANJUTA_LIBS) 
43 gsettings_in_file = org.gnome.anjuta.plugins.indent-python.gschema.xml.in
44 gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
45 @INTLTOOL_XML_NOMERGE_RULE@
46 @GSETTINGS_RULES@
48 EXTRA_DIST = \
49         $(plugin_in_files) \
50   $(gsettings_in_file)
52 CLEANFILES = \
53         $(gsettings_SCHEMAS) \
54         $(plugin_in_files:.plugin.in=.plugin)
56 -include $(top_srcdir)/git.mk