summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 50c87d2..80f50c5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,19 @@
-include config.mk
-TRANSIENT_DIR ?= /dev/null
+# Rely on EMACSLOADPATH for everything but the current directory.
+BATCH = emacs -Q --batch -L .
-LOAD_PATH = -L . -L $(TRANSIENT_DIR)
-BATCH = emacs -Q --batch $(LOAD_PATH)
-
-all: piem.elc piem-b4.elc piem.info
+all: loadpath piem.elc piem-b4.elc piem.info
.PHONY: clean
clean:
$(RM) *.elc *-autoloads.el *.info
+.PHONY: loadpath
+loadpath:
+ @echo ";;; EMACSLOADPATH=$(EMACSLOADPATH)"
+
%.info: %.texi
makeinfo $<