summaryrefslogtreecommitdiffstats
path: root/kate/katesort/Makefile.am
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-04 04:42:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-04 04:42:56 +0100
commit3e6828019fec8585b54d508f9c202106e6aa9311 (patch)
treef6f75845425a600b3072d5ce6fb7d935385d6809 /kate/katesort/Makefile.am
parent462324fb8d4ff24c48599fb311aa1e26f9a4da53 (diff)
downloadtdeaddons-3e6828019fec8585b54d508f9c202106e6aa9311.tar.gz
tdeaddons-3e6828019fec8585b54d508f9c202106e6aa9311.zip
Integrate katesort as part of tdeaddons
Diffstat (limited to 'kate/katesort/Makefile.am')
-rw-r--r--kate/katesort/Makefile.am31
1 files changed, 15 insertions, 16 deletions
diff --git a/kate/katesort/Makefile.am b/kate/katesort/Makefile.am
index 8a2284f..a8b714d 100644
--- a/kate/katesort/Makefile.am
+++ b/kate/katesort/Makefile.am
@@ -1,22 +1,21 @@
-SUBDIRS = $(TOPSUBDIRS)
+INCLUDES = $(all_includes)
+METASOURCES = AUTO
-$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
+KDE_ICON = AUTO
-$(top_srcdir)/subdirs:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
+# Install this plugin in the KDE modules directory
+kde_module_LTLIBRARIES = katesortplugin.la
-$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
+katesortplugin_la_SOURCES = plugin_sort.cpp sortdialog.cpp sortdialoglayout.ui
+katesortplugin_la_LIBADD = -lkateinterfaces
+katesortplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
-MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
+pluginsdir = $(kde_datadir)/kate/plugins/sort
+plugins_DATA = plugin_sort.rc
-package-messages:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
- $(MAKE) -C po merge
-EXTRA_DIST = admin COPYING configure.in.in
-
-dist-hook:
- cd $(top_distdir) && perl admin/am_edit -padmin
- cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
+messages: rc.cpp
+ $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/katesort.pot
+noinst_HEADERS = sortdialog.h sortdialoglayout.h
+kde_services_DATA = katesort.desktop