From 2a96a851a8db91d9ee6338f123f0abd42b1812c9 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 9 Feb 2023 18:12:08 -0500 Subject: actually install dictem --- emacsen/Makefile | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 emacsen/Makefile (limited to 'emacsen/Makefile') 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 -- cgit v1.2.3