| 48 | xinstall -d ${destroot}${prefix}/share/cppcheck |
| 49 | copy ${worksrcpath}/cfg/gtk.cfg ${destroot}${prefix}/share/cppcheck/gtk.cfg.dist |
| 50 | copy ${worksrcpath}/cfg/posix.cfg ${destroot}${prefix}/share/cppcheck/posix.cfg.dist |
| 51 | copy ${worksrcpath}/cfg/qt.cfg ${destroot}${prefix}/share/cppcheck/qt.cfg.dist |
| 52 | copy ${worksrcpath}/cfg/std.cfg ${destroot}${prefix}/share/cppcheck/std.cfg.dist |
| 53 | copy ${worksrcpath}/cfg/windows.cfg ${destroot}${prefix}/share/cppcheck/windows.cfg.dist |
| 54 | } |
| 55 | |
| 56 | post-activate { |
| 57 | if {![file exists ${prefix}/share/cppcheck/gtk.cfg]} { |
| 58 | copy ${prefix}/share/cppcheck/gtk.cfg.dist ${prefix}/share/cppcheck/gtk.cfg |
| 59 | } |
| 60 | |
| 61 | if {![file exists ${prefix}/share/cppcheck/posix.cfg]} { |
| 62 | copy ${prefix}/share/cppcheck/posix.cfg.dist ${prefix}/share/cppcheck/posix.cfg |
| 63 | } |
| 64 | |
| 65 | if {![file exists ${prefix}/share/cppcheck/qt.cfg]} { |
| 66 | copy ${prefix}/share/cppcheck/qt.cfg.dist ${prefix}/share/cppcheck/qt.cfg |
| 67 | } |
| 68 | |
| 69 | if {![file exists ${prefix}/share/cppcheck/std.cfg]} { |
| 70 | copy ${prefix}/share/cppcheck/std.cfg.dist ${prefix}/share/cppcheck/std.cfg |
| 71 | } |
| 72 | |
| 73 | if {![file exists ${prefix}/share/cppcheck/windows.cfg]} { |
| 74 | copy ${prefix}/share/cppcheck/windows.cfg.dist ${prefix}/share/cppcheck/windows.cfg |
| 75 | } |