summaryrefslogtreecommitdiffstats
path: root/konq-plugins/babelfish/Makefile.am
blob: ed4dade37a6b74dfc5a7dac0ee7b1227de6d7426 (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
25
26
INCLUDES    = $(all_includes)
METASOURCES = AUTO

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

libbabelfishplugin_la_SOURCES = plugin_babelfish.cpp
libbabelfishplugin_la_LIBADD  = $(LIB_TDEPARTS) $(LIB_TDEHTML)
libbabelfishplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -no-undefined

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

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

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

KDE_ICON = babelfish

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

kde_conf_DATA = translaterc