Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit df5675f0 authored by David Faure's avatar David Faure

rename header in all relevant files, not just its cpp file

parent f3becce7
......@@ -34,7 +34,7 @@ newinclguard=`echo $newname | tr a-z A-Z`
# Update include guard
perl -pi -e "s/\b$oldinclguard/$newinclguard/g" $newfile.h
# Update include in cpp file
perl -pi -e 's/\b'$oldfile'\.h/'$newfile'\.h/' $newfile.cpp
# Update include in all relevant files
perl -pi -e 's/\b'$oldfile'\.h/'$newfile'\.h/' `grep -l $oldfile.h *.cpp *.h`
Markdown is supported
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