Bug 26561 - poke is not installed correctly when specifying DESTDIR
Summary: poke is not installed correctly when specifying DESTDIR
Status: RESOLVED INVALID
Alias: None
Product: poke
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-01 03:52 UTC by Mohammad-Reza Nabipoor
Modified: 2020-11-14 18:37 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad-Reza Nabipoor 2020-09-01 03:52:42 UTC
Hi

The poke program when installed by the following commands, still expects to find the `pkl-rt.pk` and `poke-default.css` files inside the `/usr/share/poke/` directory.

```
$ ../configure --prefix=/usr
$ make install DESTDIR=/tmp`
```
Comment 1 Jose E. Marchesi 2020-09-01 16:39:35 UTC
Hi Mohammad.

My understanding of the GNU Coding Standards is that DESTDIR should be honored for building and installing, but the program is not required to run properly when run from the staged area.
Comment 2 Alfred M. Szmidt 2020-09-01 18:23:24 UTC
   My understanding of the GNU Coding Standards is that DESTDIR should be honored
   for building and installing, but the program is not required to run properly
   when run from the staged area.

DESTDIR should have no effect on compilation (i.e. building), its only
use is during `make install'.  It should never be used in any other
context than when copying files during `make install` or removing
during `make uninstall'.
Comment 3 Mohammad-Reza Nabipoor 2020-09-01 21:04:15 UTC
Hi

Thanks for the clarification.