diff options
author | Kissaki <kissaki@gmx.de> | 2013-01-13 03:06:29 +0400 |
---|---|---|
committer | Kissaki <kissaki@gmx.de> | 2013-06-04 23:59:51 +0400 |
commit | 7642e722ff8c10b6c5e7641d7d54d576fd96b50c (patch) | |
tree | e0f4bbc0b678dbe72296010ebe6c9a37b9390a74 /scripts | |
parent | 40ca9b4507eed28c800fa724770d70cccc273882 (diff) |
Adjust header guard defines for uniformity
* Append underline to header guard defines to match the others (except ui_)
* Add guard to header files GlobalShortcut
* Adjust mklic.pl script to add guard to licenses.h,
and add updated licenses.h.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mklic.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/mklic.pl b/scripts/mklic.pl index cbd07d2ee..ae7170c04 100755 --- a/scripts/mklic.pl +++ b/scripts/mklic.pl @@ -41,6 +41,9 @@ print $F "/*\n"; print $F " * This file was auto-generated by scripts/mklic.pl\n"; print $F " * DO NOT EDIT IT MANUALLY\n"; print $F " */\n"; +print $F "#ifndef LICENSES_H_\n"; +print $F "#define LICENSES_H_\n"; +print $F "\n"; print $F "#include <QtGlobal>\n\n"; print $F licenseFileToVar("licenseMumble", "../LICENSE"); @@ -89,6 +92,8 @@ foreach (@thirdPartyLicenses) { } print $F "\t0\n"; -print $F "};\n\n\n"; +print $F "};\n"; +print $F "\n"; +print $F "#endif\n"; close($F); |