INCLUDES    = $(all_includes)
METASOURCES = AUTO

KDE_ICON = xmlcheck

# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katexmlcheckplugin.la

# This is all standard.  Remove the LIB_KHTML reference if you are not
# using the KHTML Part
katexmlcheckplugin_la_SOURCES = plugin_katexmlcheck.cpp
katexmlcheckplugin_la_LIBADD = -lkateinterfaces
katexmlcheckplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

# Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katexmlcheck
plugins_DATA = ui.rc

kde_services_DATA = katexmlcheck.desktop

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/katexmlcheck.pot
