Bug 26561

Summary: poke is not installed correctly when specifying DESTDIR
Product: poke Reporter: Mohammad-Reza Nabipoor <mnabipoor>
Component: defaultAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: normal CC: jose.marchesi, poke-devel
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

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.