aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile102
1 files changed, 63 insertions, 39 deletions
diff --git a/Makefile b/Makefile
index 999b90ac..8f278325 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,6 @@
install-vim-pathogen \
install-vim-plugins \
install-x \
- install-yash \
install-zsh \
check \
check-bash \
@@ -54,7 +53,6 @@
check-sh \
check-urxvt \
check-xinit \
- check-yash \
check-zsh \
lint \
lint-bash \
@@ -63,11 +61,10 @@
lint-ksh \
lint-sh \
lint-urxvt \
- lint-xinit \
- lint-yash
+ lint-xinit
.SUFFIXES:
-.SUFFIXES: .awk .bash .pl .sed .sh
+.SUFFIXES: .awk .bash .m4 .mi5 .pl .sed .sh
NAME = 'Tom Ryder'
EMAIL = tom@sanctum.geek.nz
@@ -92,6 +89,7 @@ BINS = bin/ap \
bin/clrd \
bin/clwr \
bin/csmw \
+ bin/dam \
bin/d2u \
bin/ddup \
bin/dmp \
@@ -121,6 +119,7 @@ BINS = bin/ap \
bin/jfcd \
bin/jfp \
bin/loc \
+ bin/mi5 \
bin/max \
bin/maybe \
bin/mean \
@@ -134,6 +133,7 @@ BINS = bin/ap \
bin/mode \
bin/motd \
bin/murl \
+ bin/mw \
bin/nlbr \
bin/onl \
bin/osc \
@@ -142,6 +142,7 @@ BINS = bin/ap \
bin/ped \
bin/pit \
bin/plmu \
+ bin/p \
bin/pp \
bin/pph \
bin/pst \
@@ -179,6 +180,7 @@ BINS = bin/ap \
bin/tlcs \
bin/tm \
bin/tot \
+ bin/trs \
bin/try \
bin/u2d \
bin/umake \
@@ -215,12 +217,67 @@ clean distclean:
rm -f -- \
$(BINS) \
$(GAMES) \
+ bin/chn.sh \
+ bin/chn.m4 \
+ bin/edda.sh \
+ bin/edda.m4 \
+ bin/pst.sh \
+ bin/pst.m4 \
+ bin/rndl.sh \
+ bin/rndl.m4 \
+ bin/swr.sh \
+ bin/swr.m4 \
+ bin/tlcs.sh \
+ bin/tlcs.m4 \
+ bin/try.sh \
+ bin/try.m4 \
+ bin/urlc.sh \
+ bin/urlc.m4 \
git/gitconfig \
+ git/gitconfig.m4 \
gnupg/gpg.conf \
+ gnupg/gpg.conf.m4 \
+ include/mktd.m4 \
man/man8/dotfiles.7df \
tmux/tmux.conf \
+ tmux/tmux.conf.m4 \
urxvt/ext/select
+.awk:
+ sh bin/shb.sh awk -f < $< > $@
+ chmod +x ./$@
+
+.bash:
+ sh bin/shb.sh bash < $< > $@
+ chmod +x ./$@
+
+.pl:
+ sh bin/shb.sh perl < $< > $@
+ chmod +x ./$@
+
+.sed:
+ sh bin/shb.sh sed -f < $< > $@
+ chmod +x ./$@
+
+.sh:
+ sh bin/shb.sh sh < $< > $@
+ chmod +x ./$@
+
+.mi5.m4:
+ awk -f bin/mi5.awk < $< > $@
+
+.m4.sh:
+ m4 < $< > $@
+
+bin/chn.sh: include/mktd.m4
+bin/edda.sh: include/mktd.m4
+bin/pst.sh: include/mktd.m4
+bin/rndl.sh: include/mktd.m4
+bin/swr.sh: include/mktd.m4
+bin/tlcs.sh: include/mktd.m4
+bin/try.sh: include/mktd.m4
+bin/urlc.sh: include/mktd.m4
+
git/gitconfig: git/gitconfig.m4
m4 \
-D DF_NAME=$(NAME) \
@@ -248,26 +305,6 @@ tmux/tmux.conf: tmux/tmux.conf.m4
m4 -D DF_TMUX_BG=$(TMUX_BG) -D DF_TMUX_FG=$(TMUX_FG) \
tmux/tmux.conf.m4 > $@
-.awk:
- sh bin/shb.sh awk -f < $< > $@
- chmod +x ./$@
-
-.bash:
- sh bin/shb.sh bash < $< > $@
- chmod +x ./$@
-
-.pl:
- sh bin/shb.sh perl < $< > $@
- chmod +x ./$@
-
-.sed:
- sh bin/shb.sh sed -f < $< > $@
- chmod +x ./$@
-
-.sh:
- sh bin/shb.sh sh < $< > $@
- chmod +x ./$@
-
install: install-bin \
install-curl \
install-ex \
@@ -446,12 +483,6 @@ install-x: check-xinit
cp -p -- X/Xresources $(HOME)/.Xresources
cp -p -- X/Xresources.d/* $(HOME)/.Xresources.d
-install-yash: install-yash install-sh
- mkdir -p -- $(HOME)/.yashrc.d
- cp -p -- yash/yash_profile $(HOME)/.yash_profile
- cp -p -- yash/yashrc $(HOME)/.yashrc
- cp -p -- yash/yashrc.d/* $(HOME)/.yashrc.d
-
install-zsh: check-zsh install-sh
mkdir -p -- $(HOME)/.profile.d $(HOME)/.zshrc.d
cp -p -- zsh/profile.d/* $(HOME)/.profile.d
@@ -491,9 +522,6 @@ check-urxvt:
check-xinit:
sh check/xinit.sh
-check-yash:
- sh check/yash.sh
-
check-zsh:
sh check/zsh.sh
@@ -503,8 +531,7 @@ lint: lint-bash \
lint-ksh \
lint-sh \
lint-urxvt \
- lint-xinit \
- lint-yash
+ lint-xinit
lint-bash: check-bash
sh lint/bash.sh
@@ -526,6 +553,3 @@ lint-urxvt: check-urxvt
lint-xinit: check-xinit
sh lint/xinit.sh
-
-lint-yash: check-yash
- sh lint/yash.sh