~tardypad/dotfiles

86213b389b8f1bc4a6e426fe742e24ed66516ea7 — Damien Tardy-Panis 3 months ago 7733d3a
Comments alignment in Makefiles
M files/configs/fontconfig/Makefile => files/configs/fontconfig/Makefile +1 -1
@@ 5,7 5,7 @@ fontconfig-configs:

	$(setup_file)/configs/fontconfig/fonts.conf > $(DESTDIR)$(CONFIG_DIR)/fontconfig/fonts.conf

    # rebuild fonts cache
	# rebuild fonts cache
	if [ -z $(DESTDIR) ] ; then \
		fc-cache -f; \
	fi

M files/configs/less/Makefile => files/configs/less/Makefile +1 -1
@@ 1,5 1,5 @@
all: less-configs

less-configs:
    # generate config file
	# generate config file
	$(setup_file)/configs/less/lesskey | lesskey -o "$(DESTDIR)$(HOME)/.less" -

M files/configs/systemd/Makefile => files/configs/systemd/Makefile +2 -2
@@ 20,7 20,7 @@ systemd-configs:
	$(setup_file)/configs/systemd/user/qutebrowser_update_adblock.service > $(DESTDIR)$(CONFIG_DIR)/systemd/user/qutebrowser_update_adblock.service
	$(setup_file)/configs/systemd/user/qutebrowser_update_adblock.timer   > $(DESTDIR)$(CONFIG_DIR)/systemd/user/qutebrowser_update_adblock.timer

    # enable paths, timers and services
	# enable paths, timers and services
	ln -sf ../backup_bookmarks.path              $(DESTDIR)$(CONFIG_DIR)/systemd/user/paths.target.wants/backup_bookmarks.path
	ln -sf ../backup_contacts.path               $(DESTDIR)$(CONFIG_DIR)/systemd/user/paths.target.wants/backup_contacts.path
	ln -sf ../backup_notes.path                  $(DESTDIR)$(CONFIG_DIR)/systemd/user/paths.target.wants/backup_notes.path


@@ 31,7 31,7 @@ systemd-configs:
	ln -sf /usr/lib/systemd/user/mpd.service     $(DESTDIR)$(CONFIG_DIR)/systemd/user/default.target.wants/mpd.service
	ln -sf /usr/lib/systemd/user/ydotool.service $(DESTDIR)$(CONFIG_DIR)/systemd/user/default.target.wants/ydotool.service

    # reload daemon
	# reload daemon
	if [ -z $(DESTDIR) ] ; then \
		systemctl --user daemon-reload; \
	fi

M files/configs/vim/Makefile => files/configs/vim/Makefile +2 -2
@@ 1,13 1,13 @@
all: vim-configs

vim-configs:
    # create necessary runtime directories
	# create necessary runtime directories
	mkdir -p $(DESTDIR)$(HOME)/.vim/backup
	mkdir -p $(DESTDIR)$(HOME)/.vim/sessions
	mkdir -p $(DESTDIR)$(HOME)/.vim/swap
	mkdir -p $(DESTDIR)$(HOME)/.vim/undo

    # backup locally added new spelling words
	# backup locally added new spelling words
	if [ -z $(DESTDIR) ] ; then \
		if ! diff files/configs/vim/spell/en.utf-8.add $(DESTDIR)$(HOME)/.vim/spell/en.utf-8.add > /dev/null 2>&1; then \
			cp $(DESTDIR)$(HOME)/.vim/spell/en.utf-8.add vim_spell_en.bkp; \

M files/configs/zsh/Makefile => files/configs/zsh/Makefile +2 -2
@@ 60,7 60,7 @@ zsh-configs:
	$(setup_file)/configs/zsh/functions/highlighters/_zsh_highlight_highlighter_redis_env_paint      > $(DESTDIR)$(HOME)/.zsh/functions/_zsh_highlight_highlighter_redis_env_paint
	$(setup_file)/configs/zsh/functions/highlighters/_zsh_highlight_highlighter_redis_env_predicate  > $(DESTDIR)$(HOME)/.zsh/functions/_zsh_highlight_highlighter_redis_env_predicate

    # same git completions
	# same git completions
	ln -sf _git-argument $(DESTDIR)$(HOME)/.zsh/completions/git/_git-bwc
	ln -sf _git-argument $(DESTDIR)$(HOME)/.zsh/completions/git/_git-bwi
	ln -sf _git-argument $(DESTDIR)$(HOME)/.zsh/completions/git/_git-bwr


@@ 77,5 77,5 @@ zsh-configs:
	ln -sf _git-argument $(DESTDIR)$(HOME)/.zsh/completions/git/_git-urlr
	ln -sf _git-url      $(DESTDIR)$(HOME)/.zsh/completions/git/_git-browse

    # clear completion cache
	# clear completion cache
	rm -f $(DESTDIR)$(HOME)/.zcompdump