aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:32:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:32:01 +1300
commit37c926484756e91ff0eda5e373c04548df82090e (patch)
tree98858719ae84794cae76fc98f1c46dd22a8575fd /Makefile
parentMerge branch 'release/v0.5.0' into develop (diff)
downloaddotfiles-37c926484756e91ff0eda5e373c04548df82090e.tar.gz
dotfiles-37c926484756e91ff0eda5e373c04548df82090e.zip
Add ~/.tidyrc and accompanying Makefile target
This target also installs a short shell script in ~/.profile.d to set and export the HTML_TIDY environment variable that defines the path to the configuration file. tidy(1) seems to need this to be explicitly set with a default build, as far as I can tell. This pairs nicely with the settings in vim/ftplugin/html.vim.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c09541fd..e80a1ed8 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@
install-sh \
install-subversion \
install-terminfo \
+ install-tidy \
install-tmux \
install-urxvt \
install-vim \
@@ -463,6 +464,10 @@ install-terminfo:
find terminfo -type f -name '*.info' \
-exec tic -- {} \;
+install-tidy: install-sh
+ cp -p -- tidy/profile.d/* $(HOME)/.profile.d
+ cp -p -- tidy/tidyrc $(HOME)/.tidyrc
+
install-tmux: tmux/tmux.conf install-terminfo
cp -p -- tmux/tmux.conf $(HOME)/.tmux.conf