Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always install zeek-archiver, not optionally like adtrace and rst #50

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

ckreibich
Copy link
Member

I overlooked that zeek-archiver is not like rst or adtrace — we currently always install it, so let's keep doing that.

@ckreibich ckreibich force-pushed the topic/christian/always-install-zeek-archiver branch from 85c309e to 3595ec3 Compare April 19, 2024 21:46
@@ -3,4 +3,4 @@ add_executable(zeek-archiver zeek-archiver.cc)
set_target_properties(zeek-archiver PROPERTIES COMPILE_FLAGS
"-std=c++17 -Wall -Wno-unused -Werror=vla")

AddAuxInstallTarget(zeek-archiver)
install(TARGETS zeek-archiver DESTINATION bin)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the zeek-archive target was declared with add_program CMake knows it needs to go into bin/, so DESTINATION is not required (or might even interfere with what was patched into GNUInstallDirs). I'd suggest we drop it here and also for zeek-cut below.

Suggested change
install(TARGETS zeek-archiver DESTINATION bin)
install(TARGETS zeek-archiver)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nice — I did not know that. Done.

Also move zeek-cut's install() into the submodule, for consistency with its
manpage installation.
@ckreibich ckreibich force-pushed the topic/christian/always-install-zeek-archiver branch from 3595ec3 to 2db2c53 Compare April 22, 2024 15:57
@ckreibich ckreibich merged commit 338ece9 into master Apr 22, 2024
18 checks passed
@ckreibich ckreibich deleted the topic/christian/always-install-zeek-archiver branch April 22, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants