From 0c84dfd42e0d614ca0a2f2a7762ef1b8731a4bf9 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Thu, 8 Jun 2023 19:45:13 +0200 Subject: [PATCH] Remove reference to 'TIMEW_RCDIR' Copy paste from Taskwarrior, not used in Timewarrior Signed-off-by: Thomas Lauf --- INSTALL | 4 +--- cmake.h.in | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 079cf8a6..9f0adb15 100644 --- a/INSTALL +++ b/INSTALL @@ -58,13 +58,12 @@ CMake configuration variables are applied with the -D option and consist of a = . -Four more variables can customize the installation process. +Five more variables can customize the installation process. The following table lists them and their defaults plus the `CMAKE_INSTALL_PREFIX`: CMAKE_INSTALL_PREFIX /usr/local TIMEW_BINDIR bin TIMEW_DOCDIR share/doc/timew - TIMEW_RCDIR share/doc/timew/rc TIMEW_MAN1DIR share/man/man1 TIMEW_MAN5DIR share/man/man5 TIMEW_MAN7DIR share/man/man7 @@ -73,7 +72,6 @@ The corresponding `TIMEW_*` variables will be combined with `CMAKE_INSTALL_PREFI CMAKE_INSTALL_PREFIX/TIMEW_BINDIR /usr/local/bin CMAKE_INSTALL_PREFIX/TIMEW_DOCDIR /usr/local/share/doc/timew - CMAKE_INSTALL_PREFIX/TIMEW_RCDIR /usr/local/share/doc/timew/rc CMAKE_INSTALL_PREFIX/TIMEW_MAN1DIR /usr/local/share/man/man1 CMAKE_INSTALL_PREFIX/TIMEW_MAN5DIR /usr/local/share/man/man5 CMAKE_INSTALL_PREFIX/TIMEW_MAN7DIR /usr/local/share/man/man7 diff --git a/cmake.h.in b/cmake.h.in index f190459f..ad29ddda 100644 --- a/cmake.h.in +++ b/cmake.h.in @@ -11,9 +11,6 @@ #define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" -/* Installation details */ -#define TIMEW_RCDIR "${CMAKE_INSTALL_PREFIX}/${TIMEW_RCDIR}" - /* git information */ #cmakedefine HAVE_COMMIT @@ -45,4 +42,3 @@ #cmakedefine HAVE_GET_CURRENT_DIR_NAME #cmakedefine HAVE_TIMEGM #cmakedefine HAVE_UUID_UNPARSE_LOWER -