summaryrefslogtreecommitdiff
path: root/elpa/org-9.5.2/Makefile
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-06-07 08:23:47 -0400
committermattkae <mattkae@protonmail.com>2022-06-07 08:23:47 -0400
commitbd18a38c2898548a3664a9ddab9f79c84f2caf4a (patch)
tree95b9933376770381bd8859782ae763be81c2d72b /elpa/org-9.5.2/Makefile
parentb07628dddf418d4f47b858e6c35fd3520fbaeed2 (diff)
parentef160dea332af4b4fe5e2717b962936c67e5fe9e (diff)
Merge conflict
Diffstat (limited to 'elpa/org-9.5.2/Makefile')
-rw-r--r--elpa/org-9.5.2/Makefile93
1 files changed, 0 insertions, 93 deletions
diff --git a/elpa/org-9.5.2/Makefile b/elpa/org-9.5.2/Makefile
deleted file mode 100644
index f2a14b5..0000000
--- a/elpa/org-9.5.2/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-.NOTPARALLEL: # always run this make serially
-.SUFFIXES: # we don't need default suffix rules
-ifeq ($(MAKELEVEL), 0)
- $(error This make needs to be started as a sub-make from the toplevel directory.)
-endif
-
-ifneq ($(ORG_ADD_CONTRIB),)
- _ORG_ADD_EL_ := \
- $(notdir \
- $(wildcard \
- $(addsuffix .el, \
- $(addprefix ../contrib/lisp/, \
- $(basename \
- $(notdir $(ORG_ADD_CONTRIB)))))))
-endif
-
-LISPV := org-version.el
-LISPI := org-loaddefs.el
-LISPA := $(LISPV) $(LISPI)
-LISPB := $(LISPA:%el=%elc) org-install.elc
-LISPF := $(filter-out $(LISPA),$(sort $(wildcard *.el) $(_ORG_ADD_EL_)))
-LISPC := $(filter-out $(LISPB) $(LISPN:%el=%elc),$(LISPF:%el=%elc))
-_ORGCM_ := dirall single source slint1 slint2
--include local.mk
-
-.PHONY: all compile compile-dirty \
- $(_ORGCM_) $(_ORGCM_:%=compile-%) \
- autoloads addcontrib \
- install clean cleanauto cleanall cleanelc clean-install
-
-# do not clean here, done in toplevel make
-all compile compile-dirty:: autoloads
-ifeq ($(filter-out $(_ORGCM_),$(ORGCM)),)
- $(MAKE) compile-$(ORGCM)
-else
- $(error ORGCM has illegal value $(ORGCM) (valid: $(_ORGCM_)))
-endif
-
-compile-dirall: dirall
-compile-single: single $(LISPC)
-compile-source: source dirall
-compile-slint1: dirall slint1
-compile-slint2: source dirall slint1
-
-# internal
-dirall:
- @$(info ==================== $@ ====================)
- @$(ELCDIR)
-single:
- @$(info ==================== $@ ====================)
-source: cleanelc
- @$(info ==================== $@ ====================)
- @$(foreach elc,$(LISPC),$(MAKE) $(elc) && $(RM) $(elc);)
-slint1:
- @$(info ==================== $@ ====================)
- @$(foreach elc,$(LISPC),$(RM) $(elc); $(MAKE) $(elc);)
-
-%.elc: %.el
- @$(info Compiling single $(abspath $<)...)
- -@$(ELC) $<
-
-addcontrib:
-ifneq ($(ORG_ADD_CONTRIB),)
- $(CP) $(addprefix ../contrib/lisp/,$(_ORG_ADD_EL_)) .
-endif
-
-autoloads: cleanauto addcontrib $(LISPI) $(LISPV)
-
-$(LISPV): $(LISPF)
- @echo "org-version: $(ORGVERSION) ($(GITVERSION))"
- @$(RM) $(@)
- @$(MAKE_ORG_VERSION)
-
-$(LISPI): $(LISPV) $(LISPF)
- @echo "org-loaddefs: $(ORGVERSION) ($(GITVERSION))"
- @$(RM) $(@)
- @$(MAKE_ORG_INSTALL)
-
-install: compile $(LISPF)
- if [ ! -d $(DESTDIR)$(lispdir) ] ; then \
- $(MKDIR) $(DESTDIR)$(lispdir) ; \
- fi ;
- $(CP) $(LISPC) $(LISPF) $(LISPA) $(DESTDIR)$(lispdir)
-
-cleanauto clean cleanall::
- $(RM) $(LISPA) $(LISPB)
-clean cleanall cleanelc::
- $(RM) *.elc
-
-clean-install:
- if [ -d $(DESTDIR)$(lispdir) ] ; then \
- $(RM) $(DESTDIR)$(lispdir)/org*.el* $(DESTDIR)$(lispdir)/ob*.el* $(DESTDIR)$(lispdir)/ol*.el* $(DESTDIR)$(lispdir)/ox*.el* ; \
- fi ;