mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
includes: remove non-existing headers references
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b1b83d3afd
commit
b15290d523
3 changed files with 0 additions and 9 deletions
|
@ -536,7 +536,6 @@ install(
|
|||
Plasma/ToolTipManager
|
||||
Plasma/TreeView
|
||||
Plasma/CalendarWidget
|
||||
Plasma/Version
|
||||
Plasma/View
|
||||
Plasma/Wallpaper
|
||||
Plasma/WindowEffects
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include "../../plasma/version.h"
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue