Commit 8ebf7285 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

resort code once more

keep the lib in apps

apps provides the shared library + kate + kwrite

all stuff i18n'd there is in the kate.pot
parent 085110f7
Pipeline #176740 passed with stage
in 13 minutes and 9 seconds
......@@ -55,10 +55,6 @@ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
# addons for Kate
ecm_optional_add_subdirectory(addons)
# libkate, used by the apps and addons
ecm_optional_add_subdirectory(shared)
ecm_optional_add_subdirectory(lib)
# the Kate & KWrite applications
ecm_optional_add_subdirectory(apps)
......
......@@ -46,6 +46,9 @@ The **apps/lib** directory contains the shared sources of the Kate and KWrite ap
Close to everything beside the main functions of the two applications is implemented there.
This is installed a shared library kateprivate that can be used by addons, too.
The library isn't BC over releases, no headers to use it are installed to the system.
### apps/kate
The **apps/kate** directory contains the Kate application sources.
......@@ -71,12 +74,6 @@ These plugins are not only used by Kate itself but other KTextEditor compatible
The **doc** directory contains the Kate, KWrite & KatePart manuals.
## shared
The **shared** directory contains common code parts needed by the applications & plugins.
This avoids needless code duplication.
This is purely internal, no libraries/headers are installed, this is meant to be just consumed inside this repository.
## LICENSES
The **LICENSES** directory contains the license files as referenced in the individual source files.
......
# kateprivate shared library used by Kate & KWrite (and addons)
ecm_optional_add_subdirectory(lib)
# the Kate application
ecm_optional_add_subdirectory(kate)
......
#! /usr/bin/env bash
# we create one kate.pot for the shared lib + the applications, the addons have extra ones
$EXTRACTRC `find lib apps -name \*.rc -o -name \*.ui` >> lib/rc.cpp || exit 11
$XGETTEXT `find lib apps -name "*.cpp" -o -name "*.h"` -o $podir/kate.pot
$EXTRACTRC `find . -name \*.rc -o -name \*.ui` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp" -o -name "*.h"` -o $podir/kate.pot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment