aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-26 23:29:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-26 23:30:40 +1200
commitbc204d546eacaf82ced744838cd5a06ff8bcdde0 (patch)
tree5ec2c0d44b7a292b08d783d4ae65242066da1499 /Makefile
parentRemove unneeded `command` prefix (diff)
downloaddotfiles-bc204d546eacaf82ced744838cd5a06ff8bcdde0.tar.gz
dotfiles-bc204d546eacaf82ced744838cd5a06ff8bcdde0.zip
Allow MYSQL_* my.cnf vars
Experimental
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8818e524..e513d045 100644
--- a/Makefile
+++ b/Makefile
@@ -247,6 +247,8 @@ clean distclean:
gnupg/gpg.conf.m4 \
include/mktd.m4 \
man/man8/dotfiles.7df \
+ mysql/my.cnf \
+ mysql/my.cnf.m4 \
urxvt/ext/select
.awk:
@@ -303,6 +305,13 @@ man/man7/dotfiles.7df: README.markdown man/man7/dotfiles.7df.header
cat man/man7/dotfiles.7df.header README.markdown | \
pandoc -sS -t man -o $@
+mysql/my.cnf: mysql/my.cnf.m4
+ m4 \
+ -D MYSQL_HOST=$(MYSQL_HOST) \
+ -D MYSQL_USER=$(MYSQL_USER) \
+ -D MYSQL_PASSWORD=$(MYSQL_PASSWORD) \
+ mysql/my.cnf.m4 > $@
+
MAILDIR = $(HOME)/Mail
install: install-bin \