Treat *Config.cmake files as well

This commit is contained in:
Aurélien Gâteau 2013-12-11 23:12:48 +01:00
parent 7c74c27a25
commit 78276bd589
4 changed files with 4 additions and 2 deletions

View File

@ -94,7 +94,7 @@ def main():
for root, dirs, names in os.walk('.'):
for name in names:
if name == "CMakeLists.txt" or name.endswith("Config.cmake.in"):
if name == "CMakeLists.txt" or name.endswith("Config.cmake.in") or name.endswith("Config.cmake"):
path = os.path.join(root, name)
print(path)
replace_all(path)

View File

@ -0,0 +1 @@
target_link_libraries(backlighthelper Qt5::Core KF5::Auth KF5::I18n)

View File

@ -0,0 +1 @@
target_link_libraries(backlighthelper Qt5::Core KF5::KAuth KF5::KI18n)

View File

@ -5,7 +5,7 @@ rm -rf output
cp -r src output
cd output
echo "# Running"
kf5-lib-prefix-rename
../../kf5-lib-prefix-rename
cd ..
echo "# Results"
for file in expected/* ; do