-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cmake): Recreate all relevant install/uninstall Makefile targets.
install-conf and install-datadir were not retained since their only function was to create directories, which cmake does on its own. The uninstall recipe was also improved a bit: * Support CMake components. * Switch from exec_program, which is deprecated, to execute_process. * Generate manifest file if it's missing. This makes it possible to run an uninstall target without have run its install target first. This is quite relevant if doing `make install && make uninstall-examples`, for instance. Ticket: MEN-6185 Changelog: None Signed-off-by: Kristian Amlie <[email protected]>
- Loading branch information
Kristian Amlie
committed
Jan 19, 2023
1 parent
c45b65c
commit 09fc892
Showing
6 changed files
with
140 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,4 @@ config.h | |
/_deps/ | ||
*.cmake | ||
/Testing | ||
/install_manifest.txt | ||
/install_manifest*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters