# std.Build: correct behavior of \`Step.Compile.installHeader\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0b7123f41d66bdda4da29d59623299d47b29aefb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0b7123f41d66bdda4da29d59623299d47b29aefb

Requested commit: 0b7123f41d66bdda4da29d59623299d47b29aefb

Commit: 0b7123f41d66bdda4da29d59623299d47b29aefb

Tree: e909110b2a031944f20a41a0e44c17ccd37bb1c9

Author: Carl Åstholm

Committer: Carl Åstholm

## Message

```
std.Build: correct behavior of `Step.Compile.installHeader`

Previously, `Step.Compile.installHeader` and friends would incorrectly
modify the default `install` top-level step, when the intent was for
headers to get bundled with and installed alongside an artifact. This
change set implements the intended behavior.

This carries with it some breaking changes; `installHeader` and
`installConfigHeader` both have new signatures, and
`installHeadersDirectory` and `installHeadersDirectoryOptions` have been
merged into `installHeaders`.

```

## Parents

- [129de47a71b954b1118ce188f7032ad726491f53](https://git.cafe/gitcafe/zig/commit/129de47a71b954b1118ce188f7032ad726491f53?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0b7123f41d66bdda4da29d59623299d47b29aefb?format=markdown)
