Skip to content

Commit

Permalink
cmake: symlink to XDG dir
Browse files Browse the repository at this point in the history
  • Loading branch information
elanglois-sai committed Aug 8, 2023
1 parent b0b5ca1 commit 77f21d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ HOME_DLINKS:=
ifneq ($(strip $(shell command -v arduino)),)
HOME_DLINKS += .arduino15 .jssc
endif
ifneq ($(strip $(shell command -v cmake)),)
HOME_DLINKS += .cmake
endif
ifneq ($(strip $(shell command -v duplicacy-web)),)
HOME_DLINKS += .duplicacy-web
endif
Expand Down
1 change: 1 addition & 0 deletions src/bin/check-home
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ KNOWN_FILES = {
".bashrc": Status.TOLERATED_SYMLINK,
".bean-shell-history": Status.REMOVE, # Beancount
".cache": Status.APPROVED,
".cmake": Status.TOLERATED_SYMLINK, # https://gitlab.kitware.com/cmake/cmake/-/issues/22480
".config": Status.APPROVED,
".duplicacy": Status.TOLERATED,
".duplicacy-web": Status.TOLERATED_SYMLINK,
Expand Down
2 changes: 2 additions & 0 deletions src/home/.cmake.dlink.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
m4_include(env_config.m4)m4_dnl
m4_env_config_XDG_DATA_HOME/cmake

0 comments on commit 77f21d4

Please sign in to comment.