[Tile-serving] [openstreetmap/mod_tile] Fix installation when using DESTDIR. (PR #411)

Hummeltech notifications at github.com
Sat Mar 16 16:48:26 UTC 2024


Thank you for the link, it does appear to be installing into the expected location, unless I'm not looking in the right place or the output in this link already has the patch applied.

`DESTDIR=/<<PKGBUILDDIR>>/debian/tmp` & `CMAKE_INSTALL_PREFIX=/usr`
```
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/var/cache/renderd/tiles
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/run/renderd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/etc/apache2/mods-available/tile.load
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/etc/renderd.conf
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/apache2/modules/mod_tile.so
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/render_expired
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/render_list
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/render_old
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/render_speedtest
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/renderd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/render_expired.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/render_list.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/render_old.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/render_speedtest.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/renderd.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5/renderd.conf.5
```

I do see that it is also overriding the default values for `CMAKE_INSTALL_SYSCONFDIR`, `CMAKE_INSTALL_LOCALSTATEDIR` and `CMAKE_INSTALL_RUNSTATEDIR` which might be solution I was looking for.

I will experiment with these values as well, I just want to get all of the tests passing.

Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/411#issuecomment-2002043189
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/411/c2002043189 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240316/1ce83148/attachment-0001.htm>


More information about the Tile-serving mailing list