diff --git a/includes/CMakeLists.txt b/includes/CMakeLists.txt index 99241767..cb1a3215 100644 --- a/includes/CMakeLists.txt +++ b/includes/CMakeLists.txt @@ -536,7 +536,6 @@ install( Plasma/ToolTipManager Plasma/TreeView Plasma/CalendarWidget - Plasma/Version Plasma/View Plasma/Wallpaper Plasma/WindowEffects diff --git a/includes/Plasma/Version b/includes/Plasma/Version deleted file mode 100644 index 61716764..00000000 --- a/includes/Plasma/Version +++ /dev/null @@ -1 +0,0 @@ -#include "../../plasma/version.h" diff --git a/includes/checkobsolete.py b/includes/checkobsolete.py index 0d2fd4e1..8acaa5b7 100755 --- a/includes/checkobsolete.py +++ b/includes/checkobsolete.py @@ -6,11 +6,6 @@ import os, re, sys oregex = re.compile('#(?:[\\s]+)?include [<|"](.*)[>|"]') -lexceptions = [ - '../../dnssd/settings.h', - '../../plasma/version.h', -] - lall = [] for root, dirs, files in os.walk('%s/..' % os.getcwd()): for sfile in files: @@ -23,8 +18,6 @@ for root, dirs, files in os.walk(os.getcwd()): with open(sfull, 'rb') as f: content = f.read() for smatch in oregex.findall(str(content)): - if smatch in lexceptions: - continue if not os.path.basename(smatch) in lall: print(sfull, smatch) if '--remove' in sys.argv: