summaryrefslogtreecommitdiffstats
path: root/konq-plugins/validators/Makefile.am
blob: e3b386f994a2cde4e9b555e0911d8dd4be4aca83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
INCLUDES    = $(all_includes)
METASOURCES = AUTO

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

libvalidatorsplugin_la_SOURCES = plugin_validators.cpp validatorsdialog.cpp
libvalidatorsplugin_la_LIBADD  = $(LIB_KPARTS) $(LIB_TDEHTML)
libvalidatorsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

pluginsdir   = $(kde_datadir)/tdehtml/kpartplugins
plugins_DATA = plugin_validators.rc plugin_validators.desktop

appsdir = $(kde_appsdir)/.hidden
apps_DATA = plugin_validators.desktop 

install-data-local: $(srcdir)/../uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(pluginsdir)
	$(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(pluginsdir)/validatorsplugin.desktop

KDE_ICON = validators cssvalidator htmlvalidator

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