[PR #258] [MERGED] Use DESTDIR and PREFIX instead of INSTALL_LOCATION #453

Closed
opened 2026-05-05 12:16:16 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/258
Author: @sjmulder
Created: 12/27/2019
Status: Merged
Merged: 12/27/2019
Merged by: @jmcnamara

Base: masterHead: pr/prefix


📝 Commits (2)

  • 391262d Use DESTDIR and PREFIX instead of INSTALL_LOCATION
  • b2c150c Use PREFIX for install_name

📊 Changes

3 files changed (+23 additions, -11 deletions)

View changed files

📝 Makefile (+8 -7)
📝 docs/src/getting_started.dox (+11 -3)
📝 src/Makefile (+4 -1)

📄 Description

PREFIX is the final location on the user's system. DESTDIR could
be staging directory for a package build, a chroot, etc. The
distinction is important because you don't want DESTDIR to end up
in paths compiled into the program, e.g. the location of a helpfile
or library.

(Applies only to the makefiles, not CMake)

Also use PREFIX for -install_name.

Resolves #216
Succeeds #209


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jmcnamara/libxlsxwriter/pull/258 **Author:** [@sjmulder](https://github.com/sjmulder) **Created:** 12/27/2019 **Status:** ✅ Merged **Merged:** 12/27/2019 **Merged by:** [@jmcnamara](https://github.com/jmcnamara) **Base:** `master` ← **Head:** `pr/prefix` --- ### 📝 Commits (2) - [`391262d`](https://github.com/jmcnamara/libxlsxwriter/commit/391262d8ec434344373fb620a42ae4bd60e68b8d) Use DESTDIR and PREFIX instead of INSTALL_LOCATION - [`b2c150c`](https://github.com/jmcnamara/libxlsxwriter/commit/b2c150cd0e893d1cf9845d4e4996443c0719ea9c) Use PREFIX for install_name ### 📊 Changes **3 files changed** (+23 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+8 -7) 📝 `docs/src/getting_started.dox` (+11 -3) 📝 `src/Makefile` (+4 -1) </details> ### 📄 Description `PREFIX` is the final location on the user's system. `DESTDIR` could be staging directory for a package build, a chroot, etc. The distinction is important because you don't want `DESTDIR` to end up in paths compiled into the program, e.g. the location of a helpfile or library. (Applies only to the makefiles, not CMake) Also use `PREFIX` for `-install_name`. Resolves #216 Succeeds #209 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 12:16:16 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#453
No description provided.