1. 13 Nov, 2018 2 commits
    • Tobias C. Berner's avatar
      GNUInstallDirs: Update FreeBSD "info" destination to share/info · f835f189
      Tobias C. Berner authored
      FreeBSD ports commit r484628 (Install texinfo files (GNU info) into
      ${PREFIX}/share/info, 2018-11-10) changed the "info" destination
      from "info" to "share/info".  The commit included a patch to their
      distribution of CMake to fix the `GNUInstallDirs` module too.
      Apply a similar logic change to our upstream version of the module.
      
      We already made a similar change for GNU/kFreeBSD in commit
      v3.13.0-rc2~8^2 (GNUInstallDirs: Don't use BSD info and man paths on
      GNU/kFreeBSD, 2018-10-21).
      
      Fixes: #18585
      f835f189
    • Brad King's avatar
      1b8f0ca5
  2. 22 Oct, 2018 1 commit
  3. 02 Jun, 2017 1 commit
  4. 20 Apr, 2017 1 commit
  5. 18 Jun, 2015 2 commits
    • Alex Turbov's avatar
      GNUInstallDirs: Add special cases for certain prefixes · c8bd37ec
      Alex Turbov authored
      Teach the module to handle SYSCONFDIR and LOCALSTATEDIR properly if
      CMAKE_INSTALL_PREFIX is set to `/` or `/usr` -- i.e. as expected by GNU
      Coding Standard (i.e. set SYSCONFDIR to `/etc` and `LOCALSTATEDIR` to
      `/var`).  Also if CMAKE_INSTALL_PREFIX is set to /opt/pkg, `SYSCONFDIR`
      must be set to `/etc/opt/pkg` and `LOCALSTATEDIR` to `/var/opt/pkg`
      according to FHS.
      c8bd37ec
    • Brad King's avatar
      GNUInstallDirs: Add test cases · 5f30f175
      Brad King authored
      Add a RunCMake.GNUInstallDirs test with cases covering various install
      prefixes.  Hard-code the architecture information.  Tolerate all
      platform-specific LIBDIR values.
      
      Currently the root prefix is not handled well, but verify the current
      behavior in the test anyway.  This can be addressed with a future
      change.
      Inspired-by: Alex Turbov's avatarAlex Turbov <i.zaufi@gmail.com>
      5f30f175