includes: remove non-existing headers references

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-09-19 18:30:21 +03:00
parent b1b83d3afd
commit b15290d523
3 changed files with 0 additions and 9 deletions

View file

@ -536,7 +536,6 @@ install(
Plasma/ToolTipManager
Plasma/TreeView
Plasma/CalendarWidget
Plasma/Version
Plasma/View
Plasma/Wallpaper
Plasma/WindowEffects

View file

@ -1 +0,0 @@
#include "../../plasma/version.h"

View file

@ -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: