summaryrefslogtreecommitdiffstats
path: root/konq-plugins/webarchiver/Makefile.am
blob: 43dbfb0ee37d85968b9a44d01e11dbf67d22afc3 (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
27
28
29
30
31
32
INCLUDES    = $(all_includes)
KDE_CXXFLAGS = $(USE_EXCEPTIONS)
METASOURCES = AUTO

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

libwebarchiverplugin_la_SOURCES = plugin_webarchiver.cpp archiveviewbase.ui archivedialog.cpp
libwebarchiverplugin_la_LIBADD  = $(LIB_KPARTS) $(LIB_TDEHTML)
libwebarchiverplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

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

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

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

webarchivethumbnail_la_SOURCES = webarchivecreator.cpp
webarchivethumbnail_la_LIBADD = $(LIB_TDEHTML)
webarchivethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)

servicesdir = $(kde_servicesdir)
services_DATA = webarchivethumbnail.desktop

KDE_ICON = webarchiver

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