kpackage_install_*package: fix missing dep between .desktop and .json
ClosedPublic

Authored by kossebau on May 28 2018, 5:04 PM.

Details

Summary

dd_custom_command needs to be told when to rerun by explicitly listing the
dependecies, e.g. by passing used input files by the DEPENDS argument.

Test Plan

Touching kdeplasma-addons applets/activitypager/metadata.desktop file now
properly results in a regeneration of the json variant.

Diff Detail

Repository
R290 KPackage
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.May 28 2018, 5:04 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 28 2018, 5:04 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
kossebau requested review of this revision.May 28 2018, 5:04 PM
hein added a subscriber: hein.May 28 2018, 5:22 PM

The patch works on my corrupted build dir that prompted its creation. I'm not qualified to accept CMake changes though.

bshah accepted this revision.May 28 2018, 5:23 PM
This revision is now accepted and ready to land.May 28 2018, 5:23 PM
kossebau updated this revision to Diff 35042.May 28 2018, 5:34 PM

avoid repeating calculation of metadata path

This revision was automatically updated to reflect the committed changes.