aboutsummaryrefslogtreecommitdiff
path: root/emacsen/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-02-09 19:29:20 -0500
committerRyan Kavanagh <rak@rak.ac>2023-02-09 19:29:20 -0500
commit1cd70a9954b6206de484f89ed7d71f2124c8c2cb (patch)
tree2d5b6ad8f8a2c7f3afb7238a980bacb642841053 /emacsen/Makefile
parentelisp .emacs (diff)
parents-l should force xlock to immediately lock (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to '')
-rw-r--r--emacsen/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/emacsen/Makefile b/emacsen/Makefile
deleted file mode 100644
index ce070d9..0000000
--- a/emacsen/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-EMACSD=~/.emacs.d/
-
-SUBDIRS = dictem
-
-MAKEDIRS = $(SUBDIRS:%=make-%)
-INSTALLDIRS = $(SUBDIRS:%=install-%)
-CLEANDIRS = $(SUBDIRS:%=clean-%)
-
-all: subdirs
-
-subdirs: $(MAKEDIRS)
-
-$(MAKEDIRS):
- $(MAKE) -C $(@:make-%=%)
- touch $@
-
-install: $(INSTALLDIRS)
- [ ! -d $(EMACSD)/share/info ] || install-info $(EMACSD)/share/info/*.info $(EMACSD)/share/info/dir
-
-install-% : make-%
-$(INSTALLDIRS):
- -mkdir -p $(EMACSD)/$(@:install-%=%)
- $(MAKE) -C $(@:install-%=%) install DIR=$(EMACSD)/$(@:install-%=%)
-
-clean: $(CLEANDIRS)
- rm -f make-*
-
-$(CLEANDIRS):
- [ ! -f $(@:clean-%=%)/Makefile ] || $(MAKE) -C $(@:clean-%=%) clean
-
-# Manual overrides:
-make-dictem:
- touch $@
-
-clean-dictem:
- echo $@
-
-install-dictem:
- -mkdir -p $(EMACSD)/$(@:install-%=%)
- install -m 644 $(@:install-%=%)/*.el $(EMACSD)/$(@:install-%=%)
-
-clobber:
- for dir in $(SUBDIRS); do \
- git --git-dir=$${dir}/.git reset --hard HEAD; \
- git --git-dir=$${dir}/.git clean -qxdf; \
- done
-
-.PHONY: all install clean $(CLEANDIRS) clobber